Best ways to clean brushes?

I just tried to clean my makeup brushes but I still have product (specifically powder and foundation) on them, and no matter how much I try, the product would still remain 😭 in the past I’ve used the cleaners and wipes from Sephora, and just now I tried cleaning them with the Real Techniques makeup cleaner.