First conditional — real/possible situations (if + present, will). Second conditional — unreal/imaginary (if + past, would).
Read the full guide: First and Second Conditional Explained
If it rains tomorrow, we will stay inside.
Use 'will' because rain tomorrow is a real possibility in the future; the first conditional requires present simple in the 'if' clause and 'will' in the main clause.
If I were rich, I would buy a yacht.
Use 'would' because this describes an imaginary situation (you are not rich); the second conditional uses past simple after 'if' and 'would' in the main clause to show something unreal.
If you heat ice, it will melt.
Use 'will melt' because this describes a scientific fact or general truth that always happens; even though it's a general statement, first conditional form is used because the situation is real and certain.
If she had a car, she would drive drive to work.
Use 'would drive' because she doesn't currently have a car, making this an unreal situation; the second conditional requires 'would' in the main clause when the condition is imaginary or contrary to reality.
If I see him, I will give him your message.
Use 'will' because there is a real possibility you might see him; the first conditional uses 'will' in the main clause when the condition in the 'if' clause is a genuine future possibility.
If you studied harder, you'd pass the exam.
Use 'studied' because this sentence describes an imaginary, unreal situation (you did not study hard enough); the second conditional requires past simple in the 'if' clause, even though the time reference is present or future.
If she studies, she will pass.
Use 'will' because the sentence describes a real possibility—if she actually studies, she might pass; the first conditional pairs present simple in the 'if' clause with 'will' in the main clause for realistic conditions.
If I were you, I'd apologise.
Use 'were' because 'if I were you' is a fixed second conditional expression for an imaginary situation; even though 'I' normally takes 'am', the second conditional requires 'were' for all persons to show the situation is unreal.
If it stops raining, we will go for a walk.
Use 'will' because the rain stopping tomorrow is a real, possible future event; the first conditional requires 'will' in the main clause when the 'if' clause describes a genuine possibility.
If she had more time, she'd read more books.
Use 'had' because she does not currently have much time, making this an unreal, imaginary situation; the second conditional requires past simple in the 'if' clause to express something that is not true in reality.