The best thing to do to prevent the dam from being ruined by the water is to drive stakes into the streambed and to build the dam on these stakes.