Unprotected sex for whole month is quite risky for being pregnant. Period bleeding may be mistaken as early miscarriage
Here you need to undergo one TVS scan & blood test
for beta-HCG to evaluate pregnancy
status. Following test reports, you need to consult with gynecologist.
In exclusion of pregnancy, reasons for irregular period is investigated properly and needs treatment accordingly.
All the best.