Pain from coughing?

Patient: I have this awful pain on my right side. And I sometimes feel it twicthing and can feel my bone, every movement i make hurts.It started off as just hurting when i coughed. but after having one big cough it got to the worse point. whenever i am touched it hurts, is this just a cramp? or should i have it checked out? What can i do?