1) Download Mozilla Firefox
2) Download the addon "NoScript"
3) ???
4) Profit.
Using NoScript is probably not 100% safe way of surfinf on the net, but it enhances your browser by a very high increased level of security, as no single script will be running, unless given the permission for it.
Using NoScript for 5 years now, never had any virus or keylogger on my pc
Nevertheless, Goodluck.