A garage door that reverses before it reaches the floor is giving you a symptom. The cause can sit in the sensors, the door balance, the track, the seal, or the opener. Check them in that order, because the motor is the part most people blame first and often the part least likely to be at fault.
Start with the sensors
Look at the safety sensors mounted near the floor on each side of the door. Check that the lenses are clean, the brackets are straight, and the indicator lights agree when the door is in the path. A sensor that is slightly out of line can make a door reverse for no visible reason. Clear the path of anything that sits in the beam.
Test the balance by hand
Most openers have a release cord. Follow the owner's manual to disconnect the opener, then lift the door by hand to about halfway. A well balanced door holds roughly in place. A door that drops or rises fast is telling you the springs or the balance have changed. Do not attempt spring work yourself. Spring tension is a technician's job.
Look at the track and the seal
Check the tracks for bent sections, loose bolts, and debris. Look at the bottom seal and the weatherstrip. A seal that has hardened can catch on the floor and make the door stop short. Clear ice, grit, or leaves from the threshold, and note where on the floor the reversal happens. A reversal at the same spot every time points toward the floor or a track section. A reversal at random points points toward the sensors or the force settings.
Keep the reverse working
The reversal on contact is a safety function. Do not bypass it, tape it over, or set the opener so the door pushes past an obstruction. If the door still stops short after the checks above, record the sequence you saw, then call a qualified garage door service. Bring your notes on the sensors, the balance test, and the spot where the reversal happens.