how to take care of a razor burn

I was shaving and shave the first layer of skin of my ankles so how do I keep then from burning