Surge voltage

How to protect the power supply against over voltages or surge voltages?
https://crbtech.in/online-mechanical-design-training-course