what is this??

once in a while i get these pimple like things on my labia majora, they eventually go away but for a day or two they hurt? i assume to not pop it but they're kind of annoying. does anyone know what it is? a pimple?