You can withdraw cash in Kathmandu or Namche Bazaar. There is no ATM in other villages, and the locals do not accept credit cards.