If you are in simplified mode, then just press the "TRK+ALT" button. This will maintain your current track, and hold the altitude you are at.
If you are in expert mode, then press "AP" and then "HDG" or "TRK", and "ALT HOLD"
If you are new to the autopilot, I would suggest you put it in...