Deciding when to stretch starts with asking why you want to stretch. A warm-up helps you prepare for the activity ahead. A flexibility session gives you time to work on comfortable range of motion.
Prepare for exercise with easy movement
Begin at an easy pace and rehearse the motions you will need. For example, a brisk walk can come before a run. Give yourself time to become comfortable before increasing intensity.
Choose a time for gentle static holds
You can do longer holds after a workout or during a separate session after warming up. Keep them slow, breathe normally, and stay within a comfortable range.
Work with your own routine
A short session you repeat may be easier to maintain than a long session you rarely do. Ask a clinician or physical therapist about timing and technique if you are recovering from an injury.
Read What Is Static Stretching for a related topic. For background, see the Mayo Clinic guide to basic stretches.