All circumstances are a little different….and of course, you are solely responsible for maintaining control of your vehicle to the best of your abilities. You are also solely responsible for the safe operation of your vehicle.I own both automatic and manual transmission vehicles. And the methods described below may cause excessive wear or damage to the drivetrain.In a manual transmission (commonly known by their aliases - standard transmissions or stick shift) cars can easily engine brake. To engine brake (slow down), downshift one gear. If you’re still gaining speed due to downhill grades, chose the next gear lower. Your engine RPM will increase substantially. Once your engine speed decelerates enough, downshift again to the next gear lower. Again increasing engine speed. Continue the engine braking process of downshifting until you reach first gear. Once your car is in first gear it should slow down dramatically. Continue driving at very low speeds with your lights and hazard flashers ON. Find a safe place to stop your vehicle. At this point, if it’s safe to do so (at your discretion, 15 mph or less), ease your right hand tires off the pavement onto the shoulder. This should increase tire drag by going through gravel or dirt. Once your engine RPM is at idle 1000 RPM or less, you can shutoff your car. It will be jerky, but you will come to a stop. Note: if your car is an automatic transmission, do NOT turn off your car.If your car is an automatic transmission, with gears*, first downshift out of overdrive, your engine RPM will most likely sore, depending on vehicle speed and gear ratios. Once the engine RPM has settled down, downshift to the next gear lower. Repeat this process until you’re in first gear. Make sure all lights and hazard flashers are ON, but continue driving until you find a safe place to stop your car. Now, you’re in first gear, hopefully going less than 15 MPH, ease your right tires onto the shoulder - increasing tire drag, which will slow you further. Let your car slow down as much as possible (hopefully much less than 5 MPH, stopped is the best), and then it is time to hurt your transmission. Put the gear shift into park. You will probably hear a rapid succession of loud clicks as the transmission lock skips past the detention holes. Finally it will lock in, also locking up your drive wheels. Like the manual transmission, it is a very jerky stop. Once the car is completely stopped, and locked in park (P), you may shut down the engine. If you shut down the engine while the vehicle is in motion, you will lose all engine braking and power steering. Do not turn off the engine until you’re confident that the vehicle is stopped AND in Park.*I do do not know if or how one can engine brake with automatic transmissions of the CVT breed. Continuously Variable Transmissions are whole different animal, that I am not willing to own or comment on.Note: if either type (manual or automatic) of vehicle fails to lock into park and/or stop, you’re out of luck. Please save yourself, get out of the car ASAP. As you exit your vehicle, give the steering wheel a jerk sending the vehicle towards the ditch or barricade and away from the driver’s door. Also, if there are passengers, as the driver, please be the last one to exit your vehicle.Not all possibilities and variables can not be listed here. The best advice - maintain your brakes well and check them often so that you’re never in these situation(s). Again, you as the operator/driver of the vehicle are solely responsible for the safe operation thereof. I assume no liability for damages, loss, or injury/death.Edit: It has been brought to my attention that finding a safe spot to stop your vehicle at the bottom of a hill will greatly reduce the chances of damaging the drivetrain. You’ll be going much slower at the bottom of a hill or just approaching the slight uphill grade, which should bring you to a near stop.