Most stomach pains in children are caused by an improper diet, such as cold, irritating and unhygienic food, which can lead to acute gastroenteritis. Prompt medical attention is recommended to clarify the diagnosis. Until then, warm compresses of warm water can be applied to the stomach area to relieve the pain.