spot the differences in tense and use
0 conditional: If you add two and two, you get four.
1st conditional: If it rains later, we’ll stay at home.
2nd conditional: If I won the lottery, I would sail around the world.
3rd conditional:
If I had studied harder, I would have passed the exam.