this.
before your workout or activity you want to do dynamic stretching, afterwards you wanna do static stretching.
my routine is to static stretch some point before lunch everyday, dynamic stretch before and static stretch after a workout if i have one during the day, and then static stretch at night followed by rolling out my muscles with a muscle roller.
for dynamic there are exercises like
-arm circles
-leg circles
-kick your left leg up to meet your right hand extended and vice versa with your right leg and left hand
-swing your leg back and forth
-high knees
-open the gate/close the gate (famous soccer stretch)
-lunges
-duck walk
for static
-touch your toes standing up
-sit down, bring one leg in and reach for your outstretched leg
-standing up pull your ankle behind your butt to stretch out your quads
-hold a lunge position for your hip flexors
-lay on your back and pull one knee towards your chest
-lay on your back and with the opposite arm pull one knee across your body (should feel this in you butt)
-in a crouching position lean to your right and left, should feel this on the inside of your outstretched leg
-spread your legs as far apart as possible while standing then touch the ground or try to touch each foot without bending your knees
-go into pushup position then walk your feet closer to your hands. pick up one foot and lean forward to stretch out the back of your calf on your other foot
-put your foot up on an object at about waist height and try to touch your toes, if you're not feeling the stretch then lean forward more