Back pain can have many causes. It’s not always obvious what causes it, and it often gets better on its own. A common cause of back pain is an injury like a pulled muscle (strain). Sometimes, medical conditions like a slipped disc, sciatica (a trapped nerve) or ankylosing spondylitis can cause back pain. Very rarely, back pain can be a sign of a serious problem such as a broken bone, cancer or an infection.