There is no guaranteed repair for a corrupted GameCube memory card. Corruption often indicates permanent flash-memory damage. However, you can attempt the following:
Best alternatives: purchase a new memory card (still affordable) or, for compatible games, use an SD card adapter (e.g., via SD Media Launcher). If data recovery is critical, professional services exist but are costly with no success guarantee.