Each block has exactly one "Coinbase Transaction" which receives a transaction that does not contain any actual entries, but all fees and mining subsidies.
Every 210000 blocks halves this subsidy. At the moment, each block (not required!) Is allowed to circulate 50.00000000 BTC. Very soon this will be 25.00 million. Four years later, 12.5 billion. And that will continue: 6.25, 3.125, 1.5625 and so on. However, there are only 8 decimal places, and at some point the subsidy will only be 0.00000001. Four years later, it becomes practically zero. However, this will not happen in this century.
This does not mean that no more blocks are produced. Provided Bitcoin is still alive, blocks will continue to be produced every 10 minutes. Miners receive only their entire income from fees, without subsidies.