Conditional Clauses in English;
Used for present real/factual situations
If it rains, the ground gets wet.
Used for future real/factual situations
If I have enough Money, I will buy a car.
Used for present or future unreal situations
If I had Money, I would give you. ( but I don’t have money)
Used for past unreal situations
If he had talked to me, I would have listened to him. ( but he didn’t talk to me )