Hi Julieg
From your post, I would presume that you are not a specialist carpet cleaner. My advice would be to contact a professional to attempt it for you as yellow/orange stains can be the most difficult, maybe impossible, to remove. Your own attempts may have made the situation worse.
As a professional carpet cleaner myself, I would be loathed to become involved with other peoples problems. I wish you luck.
Safe and happy cleaning:)
Ken