You could take emergency contraception, Ella One is effective for up to 5 days after unprotected sex. But it does make the pill less effective (and the pill interacts to make Ella one less effective as well) so if you take Ella make sure to follow the instructions in the Ella pamphlet since it has special directions for if you’re on the pill, you have to stop taking the pill for a certain number of days.