what causes water to leak after you've replaced the wax ring on the toilet?

The wax ring wasn't sealed.