Anyone know what this is on my middle finger?

I went camping and this appeared in the last day, it's making it a bit sore to bend my finger completely so looking to find out what is is to get a solution... Thank you