Starting Strength or 5/3/1?

Are you on about Bench Pressing?

Using a squat rack with safeties at an appropriate height would be the simplest and safest method. Failing that practicing good safety habits will keep you safe enough

e.g. benching without clips will allow you to lower the bar under control to your chest when you fail and tilt the bar to one side dumping the plates after which the weight on the other side will flip the bar. Loud, embarrassing, potential dangerous to other gym goers in the vicinity but you’ll be safe.