Treatment :
Exact cause of stomach pain nighttime should be diagnosed before treating it. Treatment for gastritis due to bacterial infection is by taking suitable antibiotics. One should avoid taking NSAID drugs regularly. Proton pump inhibitors like omeprazole or esomeprazole is effective. Treatment for peptic ulcer caused by bacteria is by taking prescribed antibiotics. For other causes powerful antacids may be effective in reducing stomach acids.
Pancreatitis can be treated by diagnosing the underlying cause. Hospitalization for few days is required until the pancreas have healed completely. Surgery is to be done for removing gallstones. Making small changes in diet habit and lifestyle can be helpful. Daily drinkers are at high risk of pancreatitis. To avoid any kind of abdominal pain it is enough if you follow healthy diet habits and lifestyle. Avoid eating large meals before going to bed. If you are allergic to certain foods, identify them and avoid them completely.