Back pain 20 weeks

Good ways to relive back pain, I have middle and upper back pain on my right side last week it was on my left side I don't have it near my coccyx and sometimes the sides of my hips, who has this and how do you relive it