How to use the Past Continuous

How to use the past continuous?

 

The past continuous is formed by using:

was/were + infinitive (stam) +ing.

 

He was walking (when he got stopped by the police).