You can unlock new heroes by either purchasing them with in-game currency or with real money. You can temporarily unlock heroes by playing in special events.