Most cases of C. diff occur when you've been taking antibiotics or not long after you've finished taking antibiotics. There are other risk factors: Being 65 or older. Recent stay at a hospital or nursing home.