Muscle discomfort can be brought on by a variety of conditions, including illnesses, injuries, and infections. Muscle pain can be temporary or persistent. After exercise, muscle soreness with a delayed onset occurs. You can take action to avoid and treat the situations that lead to muscle pain.