Anyone know what this is?

Does anyone know what this is?? It was painful to touch at first, but it's gotten smaller (but there for about a week) and doesn't really hurt anymore. I'm just nervous it's an std, i'm pregnant so anyone know what it could be ?