Sounds like you don't have the autopilot set up properly...there's more to it than just pressing the ALT key. Would also help if you specified which aircraft you're flying, since there are several different autopilots in the sim.
There are some youtube videos out there explaining how the various autopilots work...sounds like it's time for some studying!