Cervical vaccine generally refers to HPV vaccine, taking stomach medication generally does not affect the HPV vaccine, as long as it is not an acute attack period of the disease, such as gastric ulcer bleeding, acute gastritis with nausea, vomiting, does not affect the HPV vaccine. Patients can ask their doctors for guidance before taking the cervical vaccine. There are many types of gastric drugs, such as drugs to inhibit gastric acid, drugs to promote gastrointestinal motility, such as omeprazole, mosapride, etc. HPV vaccine is mainly a vaccine used for the prevention of cervical cancer, and it can also be effective in preventing different types of HPV viral infections. Currently, there is no clinical data indicating a significant contraindication between gastric drugs and HPV vaccine. Patients can receive the cervical vaccine while taking gastric medication. However, due to individual variability, patients should take into account their own situation and inject the medication under the guidance of the doctor before receiving the cervical vaccine. Some patients may experience adverse reactions such as localized skin redness, swelling, pain, muscle soreness, and fatigue after receiving cervical vaccine, and those who are allergic to its ingredients need to contraindicate its use. If patients experience abnormal discomfort after HPV vaccination, it is recommended that they go to a regular hospital to find out the cause of the disease.