Assuming you are heading towards the northern parts of this continent, here is a cheap way.
Go to Once, get on a bus to Jujuy (150 pesos), then to la quiaca border (65 pesos), do Bolivia for peanuts, in Peru you might have to look for the inexpensive bus but you will find it, get to Lima and...