Spilled milk

So my daughter spilled milk on the rug and omg it smells bad how can I clean my rug so it wont spell the house up :/