Money Exchange

What is the best way to exchange money? Does the ship give you the latest rates? Should you use a credit card on shore? If so, what brands of credit cards are most accepted? How much local currency (Euros or ?) do people usually take when they go ashore? Should I exchange my money for Euros at home? Anything you can tell me will be greatly appreciated.