Is there any way I can be infertile

I’m 18 I’ve been taking these cassava pills to try and have a baby with my bf, I got pregnant 2 years ago but had an abortion and recently I got cervicitis but I treated it but anywho my bf and I just broke up and I no longer want a baby with him but I had sex with him whenever I got that smile face on the ovulation test multiple times that night and the day before, it was like 5 days ago am I safe or is there anything I can do to stop pregnancy?

I have read that the cervicitis may have made me infertile for a while which I’m hoping so because I cannot handle a baby on my own right now just after a breakup plus we’re still seniors.