Well upper back pain could arise from dysfunction to any of structures example arthropathy leading to muscle spasm, faulty mechanics,tight neural tissue ,referred pain,soft tissues etc. It is important to get an evaluation done to understand the source of pain in order to plan a treatment regime.
Next Steps
Meanwhile avoid lifting weights,sitting and sleeping posture to be maintained,apply ice packs,gentle neck,arm and back mobility exercises post application of ice packs.