Stretching for strength training can help you work on the range of motion you use in everyday activity and lifting. Start by identifying what you want to improve. The answer will help you decide which movements belong in your warm-up and which you can practice later.
Rehearse the lifts you are about to do
Begin with easy general movement and practice the exercise with a manageable load. Use a range you can control. Adjust the setup before adding weight if you feel unstable or cannot repeat the movement comfortably.
Work on flexibility outside hard sets
If you want to improve range of motion, try a short stretching session after lifting or at a different time. Choose stable positions and ease into them. Track how the positions feel over several sessions.
Get help adapting the movement if needed
A qualified coach can help with exercise setup and technique. A clinician or physical therapist can help when pain or an injury affects the position you can use.
Read Stretching For An Intense Workout for a related topic. For background, see the Mayo Clinic guide to basic stretches.