i always try to keep my stern facing the dd (as much as poss) and stay at 2kts unless they're on a speed run over me and dropping dd's
i get as deep as poss cause you get more time to run away from those falling depth charges.
random course changes help too, keep em guessing where you are and having to twist and turn, especially if your in shallow water!
if you get the opportunity too, see if you can't get em with your stern tube!
set it slow and shallow or go for a deeper magnetic shot and sometimes you get lucky