The nearest train stations are Yeovil and Taunton, both of which are approximately 30 minutes by car and include train services to many key cities and towns.
Taunton Station is on the main line from London to Devon and Cornwall. The station also runs frequent trains to Bristol, Cardiff, and Birmingham. For timetables see here
Yeovil has two stations: Yeovil Junction (2 miles south of the town) and Yeovil Pen Mill (east of the Town Centre). From both stations you can access regular trains to London Waterloo, Exeter, Bristol, Bath, Dorchester and Weymouth. For timetables see here