Carelessly surfing the web may not only lead to viruses, but can also cause personal information (login information, embarrassing pictures, contact details) to get leaked. Here are some things to keep in mind to surf the internet safely.
Be selective with what information you disclose on the internet. Don't share any information unless its necessary, and on a legitimate website. It isn't always mandatory to provide personal information, so don't be quick to provide it.