What is this?!

I noticed a spot on my ear a little over a month ago maybe that felt like a skin tag. It was flat and just kind of rough. Then suddenly yesterday I scratched at it and something came off so I looked and found this. What the heck is this thing?!