Hamstring problem

Since June of 2018 I have had constant pain and discomfort in my hip flexor and hamstring. I was told I pulled it originally, but gets worse still. Been to doctors and done tons of tests but apparently nothing. Does anyone know what this could be?