Eating a late dinner or snacking before going to bed can turn on the digestive system and keep you up. If you have gastroesophageal reflux (GERD) or heartburn, this is even more important since it can make your symptoms worse. Drinking a lot of fluids can overwhelm your bladder so you'll have to get up and go to the bathroom.