Muscle spasms in your upper back can be uncomfortable and painful. Pain relief starts by knowing why you get them and how to treat them.