Muscle diseases can be inherited, the result of infections or side effects of medications taken for other conditions. The affected muscles usually become weak and sometimes painful.