You do understand that no one can diagnose a snake online, it could be something as simple as your snake drinking water right before you got him out (been there done that)
If you are really concerned, observe your snakes over the next few days and if necessary take it to a vet.