If you fail a course you should retake it the following semester. Failing a course has a big impact on the GPA.