You build on failure. You use it as a stepping stone. Close the door on the past. You don't try to forget the mistakes but you don't dwell on it. You don't let it have any of your energy or any of your time or any of your space.
It is soooooo necessary to get the basic skills because by the time you graduate undergraduate or graduate that field would have totally changed from your first day of school.