Bumps on my genital area for a little while now

i had these bumps for a while now and i was with my partner only for about 2 years. they can flare or flatten. some bumps are red and larger and some are small and white but they are spread lit and look like zits. a doctor told me to try antiobiotic but is not to sure if those will help.