Just had sex on period help!!!

I'm on my period it's pretty heavy maybe less then half way threw , and my boyfriend finished in me! Should I get the pill ? Please help me !!! I'm stressing out I was in the moment and know I don't know