Boil on my foreskin for a few weeks, help?

I’ve had what seems to be a boil/spot on my foreskin for about a month now. It isn’t really changing but when I squeeze it some puss comes out each time, but not much- like a spot but it doesn’t go and not all of it comes out. I’m not sexually active so it’s unlikely it’s that. Just worried about what it could be- it’s not painful anymore unless I squeeze it

did u get it tested?