Thank you for writing!
A previous ejaculation the day before will not prevent a pregnancy (with ejaculation) the day after. If you are looking to prevent a pregnancy you will need to take emergency contraception. These pills are available without a prescription - your pharmacist can assist you. The faster you take it, the better it works. It needs to be taken within 5 days but it's maximum protection is the first 1-3 days.