Nursing to sleep?

Does anyone have any tips on how to stop nursing baby to sleep? She wakes up a million times a night wanting to nurse and we both aren't getting good sleep because of it. She's almost 6 months old.