Do your homework
Do your homework on the Internet before you decide. A Eurail pass is a good idea if you will use it enough, but you can save a lot if your travel schedule isn't too heavy. Every country has a web site for its train system. In Italy, for example, it is trenitalia.com. You can look up train schedules and fares easily.