Taking certain antibiotics repeatedly may increase your risk of type 2 diabetes, according to a new study.