ICOs, just like any other investment opportunities, need to be researched properly. Not all ICOs are scams, some are great ideas backed by a reputable team. Just gotta do your homework.
You get tokens deposited to your address, free. It's one of the cool things about cryptocurrencies, people can just give you random monies without your approval.