To unlock characters you have 2 options:
a) Pay IRL money to buy gold and unlock them (definitely not recommended).
b) Use other classes. Classes have requirements to be unlocked. If you hover your mouse over a locked class you should see a class description as well as the requirement to unlock it.
To get gold you need to pay IRL money, but most of the stuff is just cosmetic, with a few exceptions such as loot potions. To earn fame you just need to play the game. You earn it just by killing mobs, but in order to have the fame added to your account the character needs to die. IE: If your character has 2000 fame it won't be credited to your account until it dies.
Every different class has different stat caps and to reach those caps you use stat potions, which drop from higher level enemies, such as event gods, dungeon bosses and regular gods.
Stat potions are also in-game currency and are used to trade with other players.
https://forums.wildshadow.com/node/139685 There's a price list you can use, shows what each stat pot is worth, as well as most items.
My advice: Try to unlock all classes, play them a bit and see which one you like the most. Once you find it create another account and use a wizard to farm godlands. All the stat pots use them in your other character and not the wizard.