Washington Dulles International Airport: Rent a car and drive; Berkeley Springs is about 2 hours away. This is the sensible option because there is no useful public-transport connection into town or around the surrounding parks. Avoid building a trip around a rideshare from Dulles: the return ride is the problem.
Baltimore/Washington International Thurgood Marshall Airport: Rent a car; allow about 2 hours. BWI can work well from Baltimore and central Maryland, but it is not a practical rail-and-bus gateway for Berkeley Springs.
Hagerstown Regional Airport: About 40 minutes by car. Commercial service is limited, so use it only if its schedule happens to work; arrange a rental car rather than counting on an airport taxi or rideshare.
Hancock, Maryland Greyhound stop: The closest intercity-bus arrival point. Berkeley Springs is roughly a 10-minute taxi ride south on US-522; prearrange the car, since this is a tiny-town transfer rather than a taxi rank. Expect roughly $20–35 before tip, depending on availability.
Cumberland, Maryland Amtrak station: Amtrak’s daily Capitol Limited stops here. Berkeley Springs is about a 40-minute taxi or prearranged-car ride away; budget roughly $70–100 each way. It is viable only if you have arranged the last leg in advance, or are renting a car in Cumberland.