Answer
It does not directly stop hormonal contraception working, but vomiting or severe diarrhoea can reduce absorption of oral contraceptive pills.
Sources for this answer
- NHSNHS · NHS medicine guidance
General medicine information. Follow the instructions for your own medicine and speak to a pharmacist or clinician about your individual circumstances.