Stop getting detected, and they won't drop the depth charges!
Seriously, though, what version do you have? Is it patched up to the u-boat version? Have you installed any mods? You also might try uninstalling and reinstalling the game to see if that works.