When accessing websites online, one is responsible for ensuring the safety of their accounts. If they are careless, they can easily fall victim of phishing and other fraudulent attempts. There are some guidelines for accessing Orkut as well which will help you to protect your account.
- Never click on any suspicious links when logged into your Orkut/Google account. In the current case, when you clicked on the link, your account was compromised and used for propagating spam.
- Use a strong password and never share it with anyone.
- Enable 2-step verification which will make it even more difficult for someone to gain entry into your account.
If your account has been compromised and you still have access, change password and security questions. Scan you account for any friends or communities that may have been automatically added and remove them. Scan your system with a good anti-virus to make sure there are no infections.
Also check the below reference which has more tips regarding Orkut safety.