Spend 5 or 10 minutesevery day practicing changing from C to D and back, don't strum just change C,D,C,D continuously for at least 5 minutes, take your time at first and make sure all the right strings are ringing then slowly speed up over the days, you should see good improvement after a few days of this.