How do you replace the tailgate's window motor on a Toyota 4Runner 1997?

how do remove the tailgate's window motor on a toyota 4runner 1997 ?