0 – Zero conditional
For things that are always true – rules, laws. Etc. If you heat water to 100 degrees, it boilsit will boilit would boilit would have boiled. If + present simple, + present simple1 – First conditional For things that will probably happen in the future under certain conditions. They are likely. If it is sunny, II goI will goI would goI would have gone to the beach. If + present simple, + will + infinitive
or If + present simple + a different future tense2 - Second conditionalFor imaginary things that could happen under certain conditions. Very unlikely or impossible.If I won the lottery, II buyI will buyI would buyI would have bought a house. If + past simple, + would + infinitive
For things that didn't happen in the past and the consequences, for regrets. They are impossible. If I had known you were coming I I bakeI will bakeI would bakeI would have bakeda cake. (I didn't know you were coming, I didn't bake a cake!)
If + past perfect, would + have + past participle