This type of condition is used in three types of sentences, called the first, second and third conditional sentences.
* Conditional sentence type 1 is a presupposition sentence where the supposition is very likely to occur (realistic to occur) in the future. Conditional sentence type 1 consists of conditional sentences (if clause) and also the main clause, meaning that there must be a condition here and there will be a result / result of these conditions later.
Conditional Sentence Formula Type 1 :
If + Subject + Verb1, + Subject + Will + Verb1 (Bare infinitive)
Or
Subject + Will + Verb1 (Bare infinitive) + If + Subject + Verb1
Example:
1. If it rains, we will cancel the match.
2. I will be mad if Budi is late again.
3. You will miss the bus if you don't hurry.
* Conditional sentence type 2 is a presupposition sentence that might not occur in the present, or the possibility is difficult to occur in the future. Like other types of conditional sentences, type 2 conditional sentences also consist of conditional sentences (if clause) and also main clause, meaning that there must be a condition here and there will be a result / result of these conditions later.
The Type 2 Conditional Sentence formula is :
If + Simple Past Tense, + Past Future Tense
Or
Past Future Tense + If + Simple Past Tense
Example:
1. If I came home earlier, I would prepare dinner.
2. If the Team and Tom were older, they would play in our hockey team.
3. If they have enough money, they will buy a new car.
* Conditional sentence type 3 is a presupposition sentence that is impossible to occur.
Conditional Sentence Formula Type 3 : 
If + S + Had + Verb3, + S + Would / should / could / might + Have + Verb3
Or
S + Would / should / could / might + Have + Verb3 + If + S + Had + Verb3
Example:
1. You could have been on time if you had caught the bus.
2. I would have bought you a present if I had known it was your birthday.
3. If the weather had been nice, they would have played football.