A strain is caused by twisting or pulling a muscle or tendon. Strains can happen suddenly, or they can happen over time.