According to SEBI guidelines, it gets credited into your primary linked bank account if you don't use it.
The frequency or period in which the amount gets credited will depend on the frequency you have opted for at the time of account opening, i.e., quarterly, monthly, yearly, etc.