I'm Scared// It hurts

For at least 7 months I've had this cord in my vagina. I don't know what it is or how I got it, but it hurts and is hard to have sexual intercourse because it gets caught, as well has hurts to wipe after peeing. 
Does anyone else have it or might know what it is?
This is the tip of it without touching/pulling it.