What's wrong with my skin around my thumb nail?

Ashley

The corner of it has been hard and peeling for a while and now it hurts. I know I shouldn't mess with it but it gets even more irritating. Does anyone know what's wrong with it?