getting tested for herpes!

so I’ve been experiencing some discomfort in my vagina and had a weird rash on my inner thigh this has been going on for way too long. I went to the doctor and I was diagnosed with a rash (they prescribed me a cream) but I think it could be something else. I’m planning on getting tested for herpes and wondered how do they test you for it? Do they take blood or swap your vagina? And if the test does come out positive how can I cope with it? I’ve been with the same person for a year and a half now so i don’t know if I got it from them?? I was tested for both herpes 1 and 2 back in 2018 and both were negative. Sorry if I seem all over the place I’m just scared