J'allais sortir quand le téléphone a sonné.
I was about to go out when the phone rang.
Je n'ai pas envie de sortir maintenant.
I don't feel like going out right now.
Je préfère sortir que rester à la maison.
I prefer going out to staying at home.
FrenchTextbook teaches rules like this, in a full beginner course.
162 lessons, 4,000+ exercises, and 6+ hours of audio.