The brain controls vomiting. Once the body senses the food you ate isn’t good, it activates the sickness. This feeling alerts the whole system that something is about to happen. Secondly, the salivary glands release more saliva to protect the teeth from stomach acids. Then after vomiting, the body releases some hormones that make you feel better.