First, check during sex that the condom is still where it should be. Second, make sure your partner knows to withdraw soon after ejaculation, before the penis gets smaller. And third, while he is withdrawing, he should hold the rim of the condom.