The simplest and most assured way to avoid pump-and-dump stocks would be to stick to popular stocks and ETFs with very large market caps. The larger the market cap of a stock, the more capital would be required to initiate a pump and dump, decreasing the likelihood of such a thing happening.