Optimal prevention and prudence in a two-period model · Study