How do you change the oil pump on a 2001 Nissan Altima GXE?

if my oil pump went on my 01 altima is it worth fixin or do you think the engine is shot