Treatment question

I was about 5 hours off from a full 7 days for treatment.

So I had sex on the 7th day around 8pm and with the time my partner first took his medication it’s about 5 hours or so before being a full 7 days

Would I still be at risk for being off a few hours?