If you have a security, sell it for a loss, and then replace it with the same or a "substantially identical" security 30 days before or after the sale, that's called a wash sale. Watch this video to learn more about wash sales (1:40)