to prevent skateboarders to use public sidewalks the city will fine any such violators.
to prevent skateboarders from using public sidewalks the city will fine any such violators.
to prevent skateboarders to use public sidewalks the city will fine any such violators.
to prevent skateboarders from using public sidewalks the city will fine any such violators.
the verb "prevent" idiomatically takes "from" + [gerund], never an infinitive.