How do meteorites pick up speed in space?

They pick up speed by coming near larger objects such as planets and moons. They pick up speed by what is called the "slingshot effect". They are going so fast (velocity) near an object that is attracting them that their speed overcomes the attraction. When the speed overcomes attraction then this has the affect of slinging them.