There are frequent buses from Quito.
Ipiales is just on the other side of the border and can be reached with collectivos or taxis.