Whats this on my nail.... Tmi please someone

It hurts a bit when i touch it but not a lot.. Also it had pus that come out very easily.. Anyone had something similar.. Going to the gp tomorrow, do i need a special doctor or the gp can figure it out!!!