@TushaarKOBO, maybe this post discussed previously should help you understand and use the if-statement properly:
if-statement