If your pain is sudden or severe, if your stomach is tender to the touch, and if you're also experiencing back pain, seek emergency medical attention.