Stop execution of script if some condition fails

After my if condtion give rusult true then script should stop execution.

Please advice...Thnaks in advance

Use exit command.

Regards.
Peasant.