Hi Jeanne - see if this video helps you: https://www.bing.com/videos/search?q=how+to+remove+mold+from+carpet&view=detail&mid=D43C1A80E81AC5F4B298D43C1A80E81AC5F4B298&FORM=VIRE
Have professionally steam cleaned. Home remedies are great, but mold can be a serious health issue. If left untreated, can make you, your family, your pets, especially birds, really sick. Not worth taking the chance. If really bad, you might have to rip it all out and start over.
I also recommend hiring a professional or replacing. Make sure you address the water issue so it doesn't happen again.