Warts treatment?

...so I freaked out about the possibility of the tiny pimples in my bikini area being warts. Talked to my boyfriend, he says he doesn't have any. But he didn't seem to mind too much ("these thing happen"), which makes me think he's had them in the past... 🤔

Anyway, my gynecologist couldn't see me for another 2 months, so I went to a random one... Basically said it could be, but wasn't sure - didn't know what else it could be because "there's a lot of skin conditions". Now I have to go to a dermatologist. She didn't give me any treatment 🙄 didn't make any recommendations... 🙄 "Maybe avoid sex, but he probably gave it to you so not much point..." Only thing she told me that was useful is there is nothing on my labia or vagina. Oh, and she didn't know what treatment the dermatologist could do "something like a laser, probably" and "probably hurts".

So my question is, how do they treat it and does it hurt?