could I get pregnant ?

I got the pill this pass Friday I been drinking it at the same time . Yesterday my boyfriend and I had sex and he came in me . Today I totally forgot I had to drink the pill . I drank it 40 min later then my actual time. Could I get pregnant ?