What is the cause of this lesion on my arm?

I thought I scratched myself in my sleep because I felt tingling on my arm when I woke up. It wasn't there yesterday or when I went to sleep last night. It's painful and tender to the touch. Feels like a blister.

image

image

image