You might want to try drinking chamomile or peppermint tea, especially when your stomach pain is associated with digestion. In such cases, you also need to keep yourself hydrated, as dehydration increases the likelihood of stomach pain. Placing a heating pad or simply a bottle with warm water is also one of the quickest remedies to stomach pain. This one you can readily do at home. The idea of this procedure is that the warm feeling will distract you from the pain, while the heat can help in relaxing your muscles and reduces nausea.
Here in our country, we also make use of relieving ointments to ease stomach pain. Such ointment has the balance of cold and warm feeling that likewise distracts the person from the pain. I don't know whether you have such things but you might want to try them in case these are readily available.
If the pain still won't go away, then it would be best for you to consult a doctor.