It is not easy task to avoid scams, but you should make research and when you will be aware of several project you will be able to identify better one. Different rating platforms are also useful. I often use: icoguide.com, icodrops to have good rating system in order to pick good icos after research