What is this? It hurts..

Any one know what this is and how to get rid of it? It hurts.. it happened after I shaved my leg.. I used a brand new blade..