Strains and sprains happen when muscles or other soft tissues near your bones stretch or tear. These injuries can cause bruising, swelling, and pain. A strain or sprain can take 6 to 8 weeks to heal.