How do you get an object in space?

With enough thrust to reach escape velocity - the speed needed to counter the pull of gravity and get out into space. Thrust is supplied b the engines on rockets.