How to earn credit