Spaceship flying!

Hello. I build a game Space Journey, and i have a question. How to make a spaceship flying? Tutorials or scripts, please!