Is this a herpes ulcer

its located on my pubic hair area

It could be, it depends on how it came and how it feels and if you’ve been experiencing other herpes symptoms before/during this potential ulcer.