Sex at the end of period?

Heather

I just had sex with my partner and it’s the very end of my period and he just cam inside of me without my consent!!! What can I do? When can I take the morning pill and how long does it last for since sperm can live inside for up to 5 days????