Pimples can occur for a variety of reasons, including excess oil production, hormonal changes, bacteria, certain medications, poor hygiene, bad diet, stress and so on.