coffee stains
I have a 2 stain charts posted inside the door of the cabinet where I keep the laundry aids. There are 3 approaches.
With or without sugar isn't an issue, sugar just dissolves out.
With or without cream IS an issue. If there is cream in the coffee, it first must be treated as a protein stain. This means wash in cold water and use color safe bleach, whites or colors.
After cream is removed, and stain is still there, dampen with hydrogen peroxide, if STILL there launder in hot water with chlorine bleach (white items) or warm water with color safe bleach (colored items).
Another method mentiond is to soak stain with glycerine for at least 30 mintes, then launder. If stain remains, try the above methods.