If an option still has time value, it is usually more advantageous to sell it than to execute it. However, it could be wise to execute an option if it is ITM and about to expire.