First off, breath and take a moment to calm down. I second the advice given above but there are a couple things I'd like to add. Along with the betadine cleaning of the wound and the paper towels, make sure that you put easy to clean hides in there as well. The reason he burrowed right into his substrate is he is injured and looking for a place to feel secure and heal. Even if you have to take plastic bowls and cut an entrance into them, make sure he has hides. If you lower his stress levels, it will give him the best shot at healing. This includes leaving him alone except for wound cleaning and making sure others in the house do so as well.

Get some pictures up but from what you're describing (and the fact it's not bleeding) it sounds like some scales and maybe the top layer of skin came off. If that's the case, chances are the wound looks worse than it is. Corns are extremely hardy but on the other hand, if you are not sure how serious it is which, from the panicking tone, you aren't, you need to get him to a vet. It doesn't take long for infection to set in and the fact he's burrowed under the substrate opens him up to more infection unfortunately. Even a standard small animal vet should be able to take care of a minor wound on a snake so call and get an appointment.