If there is something your doctor has prescribed you for pain, you should take it or do it.
For aches and pains, take an aspirin. You may also want to apply a heating pad or a cold pack on whatever hurts. If you have a stomach ache, there are medications for that, like Pepto Bismol, and hot tea may also help.
Be nice to your body, and try to “replace” the unpleasant pain with some pleasant alternative sensations, like good smells and pleasurable textures.