This could be due to misaligned photo eyes, a problem with the close limit switch, or obstructions in the path of the garage door. If you can't find an obvious cause, it's best to call a professional.