How do I put this french sentence in the past tense?

Quand je veux ouvrir la vitre, il se retourne et il me dit qu il a la grip pe et que je dois rester tranquille.

I need to put this in past tense, but I do not understand how to tell when to use Imparfait and when to use Passe Composse.
1 answer 1