chocolate and acne

Can eating a lot of chocolate and bad foods cause bad skin?? My face is normally not too bad but recently since being on my period all I have done is eat junk food and my spots are so much worse