Having been the victim of long-distance relationships not once but thrice—after swearing to never repeat the experience again each time—I can tell you that Lifehacker’s advice on the matter is spot-on. My only additional advice: never ever start a long distance relationship online.
https://lifehacker.com/5-things-i-wish-i-knew-before-starting-a-long-distance-879450157