LDR Advice

I'm very inexperienced when it c in mes yo dating(not sex) I met this guy while on a trip and he wants to try long distance then maybe if it works out I can stay with him at his place for a few months, I dont know how to keep a ldr going and how to handle not seeing someone for 9-12 months

what is your advice??