Caring for sick toddler

As

Ever since my daughter had a double ear infection 3 weeks Ago she has been on and off sick. She was on antibiotics for 10 days. Everything was going well. She had a cough on and off and congestion. Both cleared up for a about a day. Then she got a terrible dry cough at night and then it would turn into a mucous cough. Took her back to the dr and they said her ears look a lot better and her lungs sounded fine. We had about 3 days of no symptoms at all and things were looking great until tonight. She had a fever of 102.5 which lasted for hours up until I gave her Motrin before bed. Cough is back and she coughs until she pukes. It’s so stressful, so beyond stressful. I have to stay in her room most the night when she’s coughing cause of the vomiting. How do you care for a sick toddler? How do you keep sanity? I’m so stressed