There are many things that could cause abdomen pain. Gallstones sometimes cause a cramping pain in the mid to upper right abdomen. Do you have any other symptoms that go along with the pain, such as fever, nausea, jaundice (yellowing of skin), etc?
Here is a list of symptoms for gallstones:
Abdominal pain in the right upper or middle upper abdomen:
May be recurrent
May be sharp, cramping, or dull
May spread to the back or below the right shoulder blade
May be made worse by fatty or greasy foods
Occurs within minutes of a meal
Fever
Yellowing of skin and whites of the eyes (jaundice)
If your pain continues, I would not hesitate to see your doctor.