Summarize this article:

Next, give the detergent a chance to soak into the fabric and start to dislodge the stain. This shouldn't take more than 10-15 minutes. While you wait, you can prepare the rest of your laundry load. When your wash is done, take your garment out and inspect the stained area. If the stain is still plainly visible, you may need to repeat the pre-treating cycle one or more times to completely eliminate the stain. When you're satisfied with your results, dry your garment. If you have clear weather outside, you may want to consider drying your garment in the sun on a drying rack or line. The sun's rays are known to lighten stains during the drying process. However, it's important to note that leaving colored clothes out for days at a time can cause their colors to fade.
Allow the detergent to set. Dry and repeat if necessary.