If you are suspecting that your garage door sensor has gone bad, first make sure that nothing is blocking the sensor path. If there is no object obstructing the path, you should: confirm that your sensor is connected to the power supply, clean your sensor lenses, dry off wet sensors and make sure that both sensors are aligned with each other.
If none of these tips work, give us a call.