If he's not eating & has an ear infection he may have other things going on too. I strongly suggest a trip to the vet! asap!