You can retake a failed Fachsprachprüfung as often as you like. However, each attempt will cost you the fee of the respective medical association of the federal state.