It's quite unlikely you've perforated your stomach. Gastrointestinal perforations are caused by such things as appendicitis, diverticulitis, a stomach ulcer, gall stones or a gall bladder infection, inflammatory bowel diseases, blunt trauma to the stomach, such a knife wound, gunshot, surgery, taking aspirin or NSAIDs or pain long-term, etc. A gastrointestinal perforation is a medical emergency and requires immediate care.
Symptoms include: severe stomach pain, chills fever, nausea and vomiting. You don't seem to have nausea and vomiting, but since you have the extreme pain, if you haven't already, I'd strongly suggest that you see your doctor.
I've had H. Pylori and the treatment is not something that should cause extreme pain or surgery, however, if there's something else going on, it's best to find it now than to wait until it becomes an emergency. Please see your doctor.