Listen to your body, but make sure you keep drinking, especially if you have a fever. Even a low grade fever can lead to dehydration if you’re not taking in enough fluids.
Drinking something like chicken broth would also give you some nutrients.
We give the kids popsicles to keep them hydrated when they’re sick and won’t eat or drink.