Rear quarter panel window

Has anyone replaced their own drivers side rear quater panel window? If so, could you provide instructions and recommend a primer and sealant.

Thanks,
Steve