How to control Hazard and risk​