if + past simple, would/could + infinitive
Impossible situations in the present
If my family was rich, we would not live in a small flat. (we are not rich)
Unlikely situations in the future
If I landed on a desert island, I would look for fresh water first. (it is unlikely)