Help I don’t know what these sores are

ive had these for a few days theyy are sore and sometimes itchy as well but nor all the time
i did use my boyfriends face razor to shave a few days ago then i got them should i be worried it might a std such as herpes or not