I am assuming that you stored you flight plan or you wouldn't have a bearing number to enter into the HDG of the autopilot(AP). After takeoff, use your Select Heading(HDG) and turn set it to a direction that will cause the aircraft to intercept the course to your destination. Once on that heading, select NAV. The AP will intercept the course and turn toward your destination. It won't do that on heading alone. Once near your destination, you can just land visually or intercept one of the approaches to the runway. ILS, VOR, NDB, GPS for example.
This will get you to your destination. For instructions on how to line up with the runway, in good weather, using the GPS, see my previous post below. 🙂
https://forum.flyawaysimulation.com/forum/topic/11522/gps-procedures-and-visual-approaches/#70490