Plan B....?

Hi so my boyfriend came inside of me last night “on accident”” and i went to the store and took a plan B two hours after. Is there a such thing as taking it too soon?? I know it’s typically called a morning after pill but i was so nervous i had to take one asap or i wouldnt sleep: