I think it’s coaches that makes more sense than nba players because if a coach is mean an always sits you on the bench you’ll have a negative experience with that sport .
You should stop and stretch or walk around, just cool off and loosen your muscles. If you are lifting weights and you feel pain, then maybe the weight is to heavy.