Welcome to HCM.
You might have got minute abrasion or a cut near your clitoris
which you might not have noticed. An yeast infection around the clitoris also may lead to cracks or fissures which might cause a pain. If you are examined by a Gynecologist they will be able to fix the diagnosis and treat you as well.
Get well soon.