If your doctor said it is not an std, then you should post this question on another forum. Perhaps sexual health. Did you see a gynecologist? If not, I recommend you getting an opinion from one and asking them how you can get rid of them if it is possible. You could be misdiagnosed if the doctor you saw doesn't really know what they were looking at if you know what I mean.
If you want a second opinion go to another doctor. No one on the internet can diagnose you without actually doing a clinical exam.