How To Apply If Condition