Type 0 conditionals are used to express a general truth od a scientific fact. In the type od conditional we can use when in stead of if.
(ตาราง)
If-clause. Main Clause
If/When + present simple ➡️ present
If/When you mix red and yellow paint,you get orange.
Type1 conditionals are used to express a real or very probable situsation in the present or future.
(ตาราง)
If-clause. Main Clause
If+present simple ➡️ future simple,
imperative,can/must/may/
etc+bare infinitive
If he works hard,he will/might/etc get a promotion.
When the hypothesis comes before the main clause,we separate the two parts with a comma. When the main clause comes before the if-clause, then we do not use a comma to separate them
Note : with type 1 conditionals we can use unless+addirmative verb (=if+negative verb). Hewill not be able to finish his homework unless Fred gives him a hand. (=if Fred does not give him a hand , ...)