You would first buy the appropriate tools and materials for the job. Next you would cut the door to fit door frame. You would then put hinges on the frame. Install door to hinges to complete.
the framing around the door must support the structure you will try to hang. Most shed doors come with their own bracketing, and are very straight forward in installing