Go to Garmin Connect website (I assume you've made an account already)
From menu on left side of screen select 'courses'
Select 'create course'
Navigate the map to where you want to start, add waypoints until you get to where you want to end up.
Save course
Connect your Garmin to the computer
Select 'send to device'
Ride the course as per instructions in your user manual