You said you just bought him this morning?
I think they need to adjust to the water temp for alittle while before they swim around. NOT that I'm a fish expert by all means! I just remember having to go through that with our 4 fish. I hope he is ok now though!!!!!