There is only one solution to oppose scams and malware : intelligence.
Check the link. If it goes anywhere you're not familiar with, don't click.
Nobody is going to offer you millions to just click something. Sorry, that Nigerian billionnaire does not exist. Play the lottery, you've got better chances.
No one you know is sending you an attachment you should open. If someone you know does send you an attachment without you expecting it, contact the person and make sure it was meant for you. In every other case, trash the mail. It's a weapon.
It is so fucking simple, and yet so many are still caught by this.
Sometimes I dispair of Humanity.