Abdominal pain can be detected by physical examination, laboratory examination, gastrointestinal endoscopy and abdominal imaging. 1. Physical examination: Physical examination mainly involves abdominal palpation, through which the organs in the abdomen are examined to determine the location of the abdominal pain, whether there is deep pressure pain, rebound pain, and whether there are masses in the abdomen, etc., in order to comprehensively analyze the possible conditions of abdominal pain. 2. Laboratory tests: Laboratory tests, such as routine blood tests and routine stool tests, can analyze whether there are infections, gastrointestinal bleeding and other conditions. 3. Gastrointestinal endoscopy: abdominal pain can be examined by gastrointestinal endoscopy, such as gastroscopy, enteroscopy, etc., to check whether there is any lesion in the digestive tract, in order to assist in analyzing the cause of abdominal pain. 4. Abdominal imaging: abdominal pain can be used ultrasound, abdominal plain film to carry out preliminary examination and analysis, and can exclude whether the abdominal pain is caused by urinary stones, choledocholithiasis and so on. If abdominal pain occurs, you should go to the hospital in a timely manner, after a clear diagnosis and standardized treatment, so as not to delay the condition.