Three hundred and ten immersions dispel fear. He should also give a gift to the tzaddik.
Sefer HaMidos, Fear, Part I §18