Knowledge of feet?

Anyone have some knowledge on feet and nails? My pinky toe has always had this weird edge that I started pulling out bc it’s like nail but where it shouldn’t be. It leaves a hole and will be sore for a bit but it always grows back in and I pull it out again. Any guesses on what it could be?