Reflux esophagitis medicine needs to be taken for at least about 4 weeks. Reflux esophagitis is caused by reflux of stomach acid, which causes violation of the mucous membrane of the esophagus. In the treatment with medication, you need to use drugs that inhibit stomach acid to repair the gastric mucosa. Some people are in the active stage of the disease and use drugs to treat the disease. These people need to use drugs such as omeprazole, pantoprazole, and rabeprazole to inhibit the secretion of gastric acid. Although these drugs can get significant results, if the drugs are stopped without recovery of the esophageal mucosa, the disease will recur, so the drugs should be used with persistence for about 4 weeks. In addition to acid-suppressing drugs, gastrointestinal motility agents and mucosal repair agents should be used to promote the repair of the esophageal mucosa. After about 4 weeks of medication, the esophageal mucosa will be able to be repaired completely, at which time the stomach acid will not reflux to invade the esophagus. For some people with relatively serious conditions, the duration of medication can be extended appropriately, usually not more than 8 weeks.