Use a pry bar between the peice of the CV and the axle housing. There is a spring clip that holds the whole thing in there, this is sometimes a PITA to pull out. You can try to rebuild the CV but I would suggest to go to a parts store, I got one for $75 Canadian when you return the old one.
RustyRed