The closest Railway station is Chandigarh. From Chandigarh, you can reach Lahaul via Manali and Spiti via Shimla by road. The journey by road would be an approximate of 5 and 9 hours respectively. Alternatively, one can also reach Shimla by train and then take a cab for the onward journey.