After hernia operation, you will likely not be released from the hospital if you have a fever. But, it is not unusual for a light fever to grow in the days or even a week or so after hernia operation. As long as your fever comes on and then goes off within a couple of times without getting too high, you are fine.