Preventing makeup stains on carpets can be achieved by applying makeup in areas without carpet, using protective coverings, avoiding spills, and cleaning up any spills immediately. Additionally, using washable makeup brushes and avoiding oil-based makeup can also reduce the likelihood of stains.