It is possible to cough and vomit due to a violent cough that causes gastrointestinal vomiting and regurgitation, which leads to vomiting. The first step is to understand what causes the cough. A simple cough that is not very violent will not cause the problem of vomiting. If this is often the case, it is important to look at the cough, but also to see if there are any gastrointestinal problems, such as reflux gastritis, excessive acidity, gastroenteritis and other problems, and to find the cause in many ways. The first thing to do is to solve the problem of coughing, because if it is caused by coughing, we must first treat the cough, curing the cough will not cause vomiting to occur. A cold or bronchitis can cause a cough; a sensitive trachea or mouth and throat can cause vomiting, so the cough should be treated first. Pay attention to weather changes to prevent the occurrence of colds and bronchitis inflammation, and wear a mask to prevent going out. You should eat a light diet, drink more water, eat more vegetables and fruits, eat less spicy and oily food, avoid smoking and alcohol, and exercise properly.