If your tire is flat, the safest choice is to stop as soon as you can do so safely. Driving even a short distance can damage the tire beyond repair, and driving farther can damage the wheel, brakes and suspension components.
A tire carries the weight of the vehicle on its air. Without air, the sidewall folds and is crushed between the road and the rim. That heat and pressure can destroy the internal structure of the tire within a short distance, which usually rules out a repair. The rim can bend or crack, and a tire coming apart can strike the wheel well, brake lines or wiring. On a trailer or heavy truck the damage can spread to an axle area or to the tire beside it.
If stopping would put you in a travel lane, on a blind curve or on a narrow bridge, a slow roll to a safer spot beats staying where you are. A damaged tire or rim can be replaced. Being struck by traffic is much worse. Keep the speed low, hazard lights on and the steering gentle.
Get off the road as far as is safe, turn on your hazards, and arrange help. Read Stranded on I-40: What to Do and Flat Tire on I-40 near Amarillo. For the service itself see Flat Tire Change and Mobile Tire Repair & Replacement.