I’m really unsure if this is herpes

i have had no other symptoms , i had a spot like this appear months ago but it was after i shaved with a sharp razor and i believed it was caused by irriation . Now this spot has randomly appeared but it doesnt look like any gential herpes spots i have seen from pictures on google . Could this just be caused from irrtation it is not small and i have no other spots it is hard and mainly looks red and quite swollen ?