prevented
v.v. to stop something from happening or to stop someone from doing something. You use this when you act before a problem starts.
v. to keep from happening or existing; to hinder or stop an action by advance preparation or intervention.
The new lock prevented the thief from entering the house.
Heavy rain prevented the construction crew from finishing the roof before the weekend.
The swift intervention of the central bank prevented a total collapse of the currency, though it could not stop the subsequent rise in inflation.
The verb is transitive and frequently follows the pattern 'prevent someone from doing something'.
The rain prevented me to goThe rain prevented me from goingThe verb 'prevent' is followed by the preposition 'from' and a gerund, not a 'to' infinitive.