Sperm

How long does it stay in the vagina? And also if you have sex and he cums in you and when u stand up its like it all came out is there still a chance of pregnancy...