It is recommended to drive after 24 hours after painless gastroscopy. Painless gastroscopy requires anesthesia, which has a certain effect on the patient’s nervous system, and the anesthetic drugs need a certain time to be metabolized and eliminated, which may cause dizziness, headache, slow reaction, etc., and increase the risk of driving accidents, therefore, it is best to take a full rest after the examination, and generally 24 hours after the anesthetic drugs are metabolized by the body, and no longer affects the body before driving. In addition, after the painless gastroscopy generally need to fast for about 2 hours, and then resume a normal diet, to light and easy to digest food, avoid spicy and stimulating food, after the examination if there is vomiting blood, abdominal pain, black stools, etc. need to consult a doctor.