First of all, medical advice isn't really allowed on the forums, but perhaps this is seen as a minor enough complaint.
If you get them especially regularly or they're a general problem then you should have course see a doctor.
The best thing for them though is probably adcortyl in orabase - I've seen it described as fairly magical stuff .I'm fairly sure it's a P medicine (you'll need to ask for it in a chemist). It's certainly much more effective than Bonjela (which mostly just soothes the pain)
Incidentally, going to a pharmacist is always a good idea for minor issues like this - they will know what they're talking about, and recommend something if it's suitable or refer you to a doctor if it seems serious.