You try to avoid the mistakes ...
You try to avoid the mistakes you made in the past.