Cash machines are the best option, or you can visit a currency exchange to swap your euros for dirham.