1. Read about the ICO scam on online forums. Also, read about how to recover your money.
2. Write down the founders name and promise yourself never to invest in any project started by the same founders.
3. Write about it forums, social media and spread awareness.
4. Never invest in the same type of ICO.