text: At least in California you can retake a class with a substandard grade (D or F) two more times. The best grade replaces the other two in your GPA. However they won't disappear from your transcripts (they will just not be counted in the GPA). \nI would advice you to withdraw from the class before their Withdrawal deadline if you feel you won't pass the class. A 'W' looks nicer in your transcripts than a D or an F.