Sore Toes

My pinky and pointer toe have been really sore. It feels like I've broken them, but haven't. My pinky toe has been hurting for a couple of years and my pointer toe has just recently started hurting. They only feel painful when I try to pop them or put pressure on them and it's only those 2 toes. What's going on??