Baby won’t eat!

My baby is 6 months old and is sick. She won’t drink her bottle and won’t drink Pedialyte. How can I get her to eat?