I have been trying to set up adb for my motorola xt502, but am facing problems

please anyone guide me through the process