In the absence of an external force, a moving object will move with a constant velocity in a straight line.
This is according to Newton's first law of motion that states: An object continues to be in its state of rest or uniform motion and in the same direction not unless acted upon by an external force to change that state.