Ear infection

So my 2 year old has an ear infection he was running fever so I took him to the doctor and he has been on antibiotics for a few days we have a birthday party at an indoor waterpark tomorrow is it okay for him to swim or should I keep him at home