Saturn Sunroof Sticking when opening

Have a 2001 Saturn SL2 4dr with sticky sunroof. The rail is hanging up. I can slide it forward manually but it hangs up at the front when you try to slide it back. How do we remove the rail to repair or replace?