Fasting, meaning don't feed him for a few days.
Floating on their side isn't normal behavior, it's usually a sign of SBD. If he is swimming around fine, then he probably isn't constipated anymore. I would still fast him a couple of days.
Make sure not to overfeed them, it's so easy to do, especially with the food container usually giving the wrong feeding instructions.