Oral medications for stomach problems do not usually cause insomnia; stomach problems themselves have an effect on sleep. Drugs for stomach problems can be categorized as proton pump inhibitors, gastrointestinal dynamics, mucosal protectors, antibiotics, and so on. Depending on the specific drug, the adverse reactions are different. 1. Proton pump inhibitors: such as omeprazole, rabeprazole, etc., common adverse reactions are headache, nausea, diarrhea and so on. 2. Gastrointestinal tract dynamics: such as mosapride, itopride, etc., common adverse reactions are diarrhea, abdominal pain, dry mouth, etc.. 3. Mucosal protective agents: such as colloidal bismuth pectin, bismuth potassium citrate, etc. Common adverse reactions include constipation, nausea, black stools, etc. 4. Antibiotics: such as amoxicillin, levofloxacin, etc. Common adverse reactions include nausea, gastric distension, gastric pain, etc. Patients with gastric problems can have different degrees of symptoms, and their persistence can seriously affect their lives, leading to insomnia, depression and other conditions. If insomnia occurs during the use of the drug, it is recommended to consult a doctor to determine whether the cause of the drug.