At minimum, you’ll want a high quality front facing dashcam recording while you drive.
Many dashcams also offer parking mode recording too.
For additional protection, you can also get a 2-channel dashcam that records front and rear.
There’s also dashcams that record inside the vehicle (popular for Uber and Lyft drivers), an LCD display, cloud connectivity, and more. Popular brands include Viofo, Blackvue, and Thinkware.
Check out my top recommended dashcams here.