I took the pill later than the usual

I went to a party and forgot to take the pill in the morning. When I get home at 8pm I took it. Later my husband and I had sex and idk if there’s a risk to get pregnant?