A strain is caused by twisting or pulling a muscle or tendon. Strains can happen suddenly, or they can develop over days or weeks. Treatment can help strains heal.