I was doing some heavy rearranging and cleaning up my tank so I put my betta in a smaller container. I got a little sidetracked and about an hour later found him on the ground. I put him back in the main tank (of which he is the sole occupant) but I could really use some advice. You guys haven't steered me wrong yet. any help would be great.

Hes not moving much just sitting at the top of the aquarium on one of the plants

Keep the lights low and kind of let him be for a bit, make sure the waters clean, and add some aquarium salt or epsom salt (1 tsp/gallon) He's probably really stressed out right now, and in shock. Does he have any visible injuries that you can see from being on the floor?

thanks for the quick reply, lights are off and I put in the aquarium salt. I can't see any obvious injuries but i think he may have lost some colour on his belly closer to his head. going to work now ill be back in 8 hours or so.