Usually pain dictate
After straining a muscle or muscle group, there needs to be a time of rest, maybe spiinting, ice, and gentle maneuvers to begin range of motion.
Pain is usually the guid to treatment. If therapy begins to be painful, perhaps you slow down and decrease the stressing of the muscle. Work with a physical therapist
, sports medicince doctor or other trainer. Be cautious. You can do harm.