Hi there and thanks for writing in
I have read your query in detail. You have done unsafe sex twice but in safe period. Safe period is a period in which there are very less chance of getting pregnant. You in addition to this you have taken the pill to ensure that you cannot get pregnancy
. Although we are not 100% sure for that till the next periods came but there are very less chances in your case of being pregnant.
Wait for you next periods to get confirm. I hope it will came in time.