Eat a satisfying dinner, put snacks on a plate instead of eating from the packet, choose yogurt, fruit, a few nuts or flattened rice with milk, avoid eating in front of screens, and try brushing your teeth early.
This is general information, not a substitute for medical advice. If you have a medical condition, are pregnant, or take regular medication, talk to your doctor first.