When riding into strong headwinds, there is no getting around it: you will not get far; and you will be more tired than usual!
Having ultra low gears on my bikes makes it easier (not easy!) to ride up long steep hills. Similarly, ultra low gears make it easier (not easy!) to deal with headwinds.
My touring bikes have drop bars and aerobars. Riding in the aero position reduces aerodynamic drag when riding in headwinds. But it's a balance. I don't have as much steering control, or direct access to the brakes in the aero position. If it's not safe to ride because of wind, I get to a destination ASAP, and stop for the day. Fortunately, after decades of touring, I can only remember one occasion that I curtailed riding due to heavy winds.