Before a run you should do dynamic stretches. These are stretches where you move in order to warm up your muscles. Focus on the legs but don’t forget about your hips.
After the run do static stretches. These are very important and will help your muscles to recover.