This could be because of hyperacidity.
You need to visit a GP and discuss,till the try to finish of your dinner early,late night dinners can cause indigestion along with early morning nausea vomiting.Try to do regular walks post meals,this will help in better digestion.Medicines are recommended only after physical consults or teleconsults.
Next Steps
avoid taking lot of water post any meal.