What should I do if I have published a paper that I did not write?
Be sure to never do this again. 

I think it's reasonable to remove the paper from your CV and forget about it. Otherwise, people are definitely  going to ask you about it in interviews.

Other than that I don't think there's much you can do to remedy this.