Drinking milk when you or a child has a fever is the best thing to drink during a fever and in fact drinking milk during a fever is better than plain water.
Milk can give you energy and provide nutrients which is important to stay healthy.
If you have the flu or stomach flu along with the fever then you should avoid drinking milk but if it's just a fever then milk is great to drink to give you energy and provide nutrients.