My baby has fluid in her ears (diagnosed by an MD). What can I do to help the fluid go away faster and to relieve her discomfort?

Also, she is not gaining enough weight, and I don't want to put her on formula. She breastfeeds and eats homemade solid food.

Thank you!