Idk what’s going on with my mouth

I was with a guy a month or two ago. Not seriously or anything but we were intimate. We ended up going out separate ways. Since then, I’ve developed sores on my tongue. At first I thought that I had just burnt myself on some food. Now i know that it’s been too long to pass it off as that. My tongue did start to heal when I took an antifungal for thrush but my doctor said I don’t have that anymore. There’s something wrong with it. I’m hoping it’s not an STI. Any ideas?