Should I consider surgery?

34m Doesn’t hurt constantly but (especially when wearing work boots) it causes terrible sharp pain when walking. Also feels as though my toe is dislocated when it hurts

34m Doesn’t hurt constantly but (especially when wearing work boots) it causes terrible sharp pain when walking. Also feels as though my toe is dislocated when it hurts