That depends. If the problem is external and you are put in a similar situation then the problem may recur but you may be better at dealing with it. If the problem is internal, so you behave in a self damaging way as a reaction to a stressful situation say, if you are put under stress again, you may do the thing again.