He might have swim bladder disorder, I'm not sure though because of the limited information.
Try to see for yourself if it looks like it has the symptoms, and if it doesn't fix itself soon then the best option would be euthanasia, I have seen people do surgery to fix it too but that will probably not be an option.