The duration of amoxicillin and omeprazole treatment for gastric problems depends on the type of gastric problem, generally if used to treat acute gastritis combined with bacterial infections, it only needs to be continued until about 3 days after the symptoms have significantly improved. If it is used to treat gastric ulcers, duodenal ulcers, etc. that appear after H. pylori infection, it needs to be used for 10 to 14 days. 1. Acute gastritis: anti-infective treatment is usually not needed, but if pus and blood stools are present or in preterm infants, immunodeficient patients, and when there is evidence of bacterial infection, amoxicillin for anti-inflammation and omeprazole to protect the gastrointestinal mucosa can be considered. Usually only need to be used until the symptoms are significantly relieved, and at the same time, the relevant laboratory tests are significantly better, and then consolidate the treatment for 3 days. 3. Helicobacter pylori infection: Amoxicillin combined with clarithromycin, bismuth potassium citrate, and omeprazole can usually be used in a quadruple combination of drugs to remove Helicobacter pylori. In this case, it is usually recommended that the quadruple combination last for 10 to 14 days to eradicate the H. pylori infection. Amoxicillin and Omeprazole for Gastroparesis take a few days, there are other conditions, it is recommended that if there is an upset stomach, timely medical attention, to identify the type of gastroparesis, cooperate with the doctor to actively use the medication, the above medication as prescribed by the doctor.