Firstly: Install anti-virus software on your devices.
Secondly: Keep your anti-virus software up to date.
Thirdly: Use your anti-virus software to scan your devices regularly.
Then: Choose a strong password and keep it secret.
Moreover: Shop at online shops with a padlock icon.
Last but not least: Type in the address for online shops yourself.