still worried

I have been having really bad pains on my right side that goes to my back a little ways. It also spanned a little if my rib cage as well. It's so bad I wake up from it every night. The Dr says it's musculoskeletal and to take Tylenol pm before bed to see if that's really the problem. Is this really what the problem sounds like and I can't do too much about it?