M.F.
The only way to help prevent ear infections is to stop laying her down with a bottle...period. Not only is it damaging her ears, but it's also putting her teeth at risk. She's also too young to be sleeping on a pillow. I would recommend putting nothing but plain water in her bottle at night or naps. She might not like it, but you need to put her health first and she'll eventually either get used to only having water or she'll stop needing the bottle. Good luck!