if your 5-month-old is vomiting and crying non-stop, it's crucial to consult a pediatrician for an accurate diagnosis and treatment plan. Possible causes could include gastrointestinal issues, teething, or even an infection. Temporary relief might be provided through burping the baby more frequently or using an age-appropriate antacid.