a general truth or fact
If you love someone, you don’t want to hurt them.
likely to happen in the future
If she leaves now, she'll get to the wedding on time.
(NOTE: unless = if not
She won't get to the wedding on time unless she leaves
now.
unfulfilled situation in the past
If they had spent more time together, they wouldn't have
grown apart.
Time clauses are often used in Zero and First Conditional
‘sentences, ‘replace the ifclause. Words and
expressions like when, as soon as, the moment (that), etc, are’
followed by the Present Simple.
I keep in touch with my friends when I use social media.
i will phone you as soon as I arrive.