For dye stains you may be out of luck.
You can try a commercial stain remover or oxygen bleach but be prepared to kiss the garment goodbye.
Here's a little song to help you remember how to treat your stains. Sing it to the tune of "Amazing Grace":
A protein stain goes in the cold
For oil, I need to Shout.
With tannin I should use enzymes
But dye probably won't come out...
Have a great day!