To prevent electrical shocks, ensure that all electrical outlets are properly grounded and avoid overloading circuits. If you experience frequent electrical shocks, it is advisable to seek professional help.