Answer
It does not directly stop hormonal contraception working. Vomiting or severe or prolonged diarrhoea can reduce contraceptive-pill absorption, so follow the pill leaflet.
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.