When is it said?
Tefillas HaDerech is said on a journey between cities, once one has left the city limits. On a longer trip it is said once each day of traveling.
There are details about the length of the journey and when to say it with the closing bracha. Ask your Rav for your situation.
What it asks
We ask Hashem to bring us to our destination in life, joy and peace, to protect us from every danger on the way, and to bring us home in peace. Many add Tehillim 91 and 121 for a journey.
Questions women ask
When do you say Tefillas HaDerech?
Once you have left the city on a journey between cities, by any means of travel. On a trip of several days it is said once each day.
Do you say Tefillas HaDerech on a plane?
Yes, it is said on a flight, usually once the plane is in the air. Ask your Rav about the details.
Sources
This page explains common practice from mainstream sources. For a halachic question about your own situation, ask your Rav.