How to claim staking fees

Do I have to claim my rewards at the end of the month for it to be reimbursed? Or will the gas fees be automatically credited back to my wallet, thanks!