Scam or scamming belongs to social engineering. It is a scam set up in e-mails, postings, chats and social media
that psychologically manipulates the persons written to or addressed. Scams often appeal to people's feelings, they appeal to their willingness to help, to interpersonal feelings or urge them to take certain actions, for example to transfer money immediately.
No programs can help against scams, only common sense.
The person addressed has to think about the meaning of the actions and, above all, he has to think about why he should transfer money and how he can secure such a transfer. He must make a realistic assessment of the usually fraudulent offer and must not follow the greed of quick money.