The treatment for stomach bloating and sleeplessness is as follows:1. It may be related to eating too much or irregularly, so you should eat reasonably and eat easily digestible food. Avoid overeating, do not eat spicy, stimulating, too acidic, too sweet or high-calorie food, and stay away from smoking, drinking and other high-risk factors of gastric cancer.2. After eating, try not to lie down, avoid sitting for a long time, and have moderate activities.3. Appropriate medicines can be given to help digestion, such as gastrointestinal tablets, pancreatic enzyme intestinal capsule, or promote gastrointestinal dynamics of moxapril, morbillin and other drugs to regulate.4. If symptoms are not relieved by diet or medication, gastroscopy should be done to clarify the gastric diseases. If the symptoms are not relieved by diet or medication, it is necessary to do gastroscopy to clarify the gastric diseases, carbon 13 breath test to check whether there is Helicobacter pylori infection, and if necessary, bactericidal treatment. 5, appropriate relaxation, do not be nervous, and if necessary, to do psychological counselling.