Welcome to healthcare magic
From the description it does not look like syphilis
or chlamydia. It could be bacterial infection of hair follicles ( folliculitis
). For folliculitis you may need a course of oral anti biotics and topical antibiotics. Get these prescribed by your primary care
physician. It is better to avoid shaving pubic hair .
Hope this helped