A few hours before (till 8 hours) or just before sex can be inserted the female condom. It doesn’t need to be taken out immediately after sex.