hanks for query,
as your period is irregular,ovulation time also might not fixed.
you had sex on 8th day of your period which is suppose to have safe period.
But do not take chance,after about 4-5 days go for pregnancy
you can take amoxicillin
,clavaunic acid combination or ofloxacillin antibiotic medicines,if you are not sensitive to these drugs.