Pregnancy stops bleeding?

Does getting pregnant stop irregular bleeding? I've noticed that since I've had unprotected sex, my bleeding had practically stopped.