Force/Impulse straight at any directon?

Another force/impulse related question.

How can you add force to say make it go straight at the X Axis at any direction?

I cant figure this out, basically when i try to do this it just goes straight as long as the
axis is on the X but if its on another axis it will push/pull etc.