You can use the transform for this. I'm assuming you're in 2D, but the principle is the same in 3D.
transform.x is the object's local forward axis. So to always move forward regardless of rotation, you could do this for example:
position += transform.x * speed * delta