New to this

How long do i have to take the pill until i can have sex? Still going to use a condom ofc