Pilots do make minor mistake but if the slip ups lead to accidents, then there will be an investigation. If it was an honest mistake the pilot will normally be retrained. If the accident was caused by willful violation, then he would probably be fired. Willful violation of regulations is ground for dismissal.