prevent (someone or something) from (doing something)
To stop a person or thing from being able to do something. Something is preventing the machine from turning off, so the motor is getting overheated. The government is trying to prevent us from exercising our right to free speech.
prevent someone from doing something
to keep someone from doing something. You can't prevent me from doing it! We must try to prevent her from going back there.