prevent

To stop something bad from happening before it starts.