slam/jam on the brakes
idiomDefinition of slam/jam on the brakes
: to press down hard on the brakes of a car to make it stop suddenly
He slammed on the brakes to avoid hitting the other car. You risk getting into an accident if you jam on the brakes when another car is right behind you.