You should contact your doctor if you vomit within a hour after taking the syrup. There may be a need to change the medicine. You must also mention any other factors that may have triggered this response.