What is the best procedure to use in order to proceed to abandon a pipeline?

For a good cleaning up of the line, what is the right method to use?

Thanks