Thanks for posting your query.
can prepone or postpone her periods by one week & are most effective within 24 hrs of unprotected sex.
However you had sex in safe period.
For confirmation get her urine pregnancy
test done with pregnancy kit available in market.
I hope your query has been answered.