I don't take in any boids because of local laws so I can't really give any specific advice except call a vet as soon as you can. Look over caresheets for the more common boids in the pet trades to see if you can identify the species, and try to ensure good humidity levels since there might be damaged or missing scales.
If you're able to post pics I'm sure there are plenty of folks who could ID the snake for you and give more specific husbandry requirement info.
Good luck and let us know how this poor snake makes out.
The Zombie Mama is here!