Herpes question

I had unprotected sex and I just wanna make sure I didn’t catch anything. It’s been over 3 months so I think now is a good time to see however even if I don’t have an outbreak can I still get tested to see if I have herpes or is an outbreak required? I obviously dont have an outbreak but I still want to get tested so I can have peace of mind but I’m not sure how it works