If you fail the first exam, you can go back to prepare for the second exam and contact the teacher of the training institution to make an appointment.
Welder's license examination takes two subjects, theoretical knowledge and practical operation. If you pass a subject for the first time, you don't have to take that subject for the second time. You just need to make up the exam subjects you haven't taken.