I've heard lots of different things, stretching (dynamic and static), yoga, jogging etc so im confused

What do you do for:

Lifting - (Not including warm up sets)
Warm up:
Cool down:

Cardio -
Warm up:
Cool down:

Where is the best to include foam rolling?