Some women would not have contracted an STD or STDs had they not been on the pill.
Some people have contracted HIV during their separate endeavours to give someone or some people a curable STD.