There are several potential reasons why your 5-month-old baby may be experiencing frequent vomiting and continuous crying. It is important to consult with a pediatrician to determine the exact cause and receive appropriate treatment. Some possible causes include gastroesophageal reflux (GER), food allergies or sensitivities, viral or bacterial infections, overfeeding, or an underlying medical condition. To help alleviate your baby's discomfort, you can try smaller, more frequent feedings, keeping them in an upright position after meals, avoiding tight clothing around their abdomen, burping them frequently during feeds, and ensuring they are properly hydrated. However, it is crucial to seek professional medical advice for an accurate diagnosis and tailored treatment plan for your baby's specific situation.