Passé composé is for (a) completed event or action in the past e.g. he fell, we paid and (b) when 'have / has' is used in English e.g. I have seen that film. Have you been to France? He hasn't forgotten
Imparfait (a) in English for "was / were ....... ing" e.g. It was raining, We were waiting. (b) an action that was regular, repeated e.g. She always left at 8.00.
(c) a situation or state of affairs rather than an action e.g. it was cold "Il faisait froid"
(d) when English has "used to ..... " e.g. He used to work as a porter "Il travaillait comme porteur"
Un peu compliqué au début! :))