Some medications have side effects that can cause diarrhea like antibiotics, cancer medicines, and medicines for diabetes, blood pressure, and depression. If you get diarrhea because of any new medication, then consultation with the doctor is a must.