In all such cases with a history of shaving the usual suspected diagnosis is that of an ingrown hair or inflammation/infection of the hair follicle (folliculitis
But the bumps described by you can also be associated with a few sexually transmitted infections. Although this is just an assumption as you have not mentioned any details on your sexual status.
I would recommend a visit to your gynecologist regarding the same as he/she would also be specialized in diagnosing and treating sexually transmitted infections or conditions relating to irritation of the skin or hair follicle in the region.
In the meantime, wear comfortable undergarments and have warm sitz baths several times a day. It goes without saying, avoid sexual contact of all forms till your doctor deems it safe (if you are sexually active i.e.).
Hope this helps.