how long has it been since you have been out of school/ For the most part, credits do not expire; there may be courses that are no longer offered and have been replaced with another course going forward. Even then at many universities, schools will grandfather in the credits.
I have friends and family members who have finished their degrees over a period from 10-20 years and none of them had “expired credits.” There may be slight changes in the degree requirement where they had to take some extra courses, but it is highly unlikely there is an expiration on freshman comp.
As others have stated, unless you are going to a for profit school it is highly unlikely that all of your credits will “expire.”