I have weeks with tummy pain, I would like to know how to stop it.?

Depends on cause. Impossible to fix the problem unless we know why you have it. Without more information and an examination, there are too many causes to list answers for. Please see a doc.
See your doctor. Persistent abdominal pain should be evaluated by your physician. Be sure to take a list of your medications, and discuss diet and activity. Don't wait.