You can protect your online accounts by using strong unique passwords, enabling two-factor authentication where possible and regularly updating security settings.