As an "F" that averages into (and brings down) your GPA, just the same as any other grade. See what your college's rules and procedures are for taking the class over again. Some colleges count both grades and your net grade for the course is the average of the two of them. Others let the more recent class overwrite, in effect, the older failed grade. But, again, it's up to the institution. Talk to your counselor.
After that failed class, you really don't want to fail any more classes. Aim for A's and B's to bring up your GPA. This will also show colleges that you have turned your grades around and that one F isn't a very accurate portrayel of you as a student.