The best way to avoid this type of scam is to only click links provided by official social media accounts of the company doing the ICO. Don’t click links from random reddit posts, don’t click links from people in Facebook groups, and definitely don’t click links from people who message you with a link to an ICO.