Greetings, sorry about the pain. You have a stiff upper and lower back. Give ice for 5-10 minutes once or twice a day as home remedy.
Next Steps
get to see a physio with knowledge about trigger point therapy and posture correct and your pain will be solved. you just need a good massage combined with trigger point therapy and you can feel improvement in pain right from first visit based on your problem physio will decide number of sessions needed. in 1 weeks time you should be 100% better. later exercise to correct your posture will help you permanently get relief from future pain episodes.
Health Tips
if any questions do let me know.