Hello and welcome to HCM.
Not all peri-oral ulcers mean herpes
, but you will have to get yourself tested for herpes to confirm this. In the meantime it would be best to avoid contact with your boyfriend to avoid transmission of any infection (if present). Please consult your doctor for the same, and seek treatment if any infections are present.