Help!!!

My 9 month old had a fever 2 nights ago and has been having diarrhea the past few days. He is having purées but refusing almost every single bottle and if he eats will only eat 1oz any advice ?