Can I use credit cards in the places I visit in trekking?

In the cities, yes – to some extent. Once you are out of the cities, all you need is cash. Please change the currency in local Nepali Rupees before you go to the mountains.