Sex before period

I have been having sec unprotected for a month I did take my period but what if I fell pregnant like 5 days before period.. I took my period now a week after I have bloating stomach cramps and the runs:(