Coming off pill

How long after I stop the pill do I have to wait. What could happen if I try too soon.