Pls help

Can you get an STD if the condom brakes but we changed immediately?? I had sex on Friday and today is Wednesday and i have one red pimple down there but idk if its cause the hair is growing, just a pimple or first pimple cuz of the disease