Note the structure: if + present simple and will + infinitive. It’s not important which clause comes first.
We also use the 2nd conditional to talk about something in the present which is impossible because it’s not true. For example:
Note the structure: if + past simple and would + infinitive. It’s not important which clause comes first.
(Next week - the 3rd Conditional.)