How effective is pulling out?

Everyone in my school is using the pullout method but I don't understand the concept! Can someone explain? And how is someone sure that the guy doesn't have precum?