sex without protection in the end of period!

Had sex without any protection in the middle of my period but he pulled out. Is it really bad? So upset i made that decision