Period acne prevention?

during high school i had pretty bad acne but now, at the age of 20, i’ve been blessed with almost perfect skin. however, during my period, i will get a couple big pimples and it really destroys my self esteem. how can i prevent my period pimples from getting bad?