Knowing the signs could save you from a painful setback in the gym.