First thing it so open up your settings and navigate to Settings –> System apps –> Phone.
Identify unknown numbers
Turn on the Identify unknown numbers setting (picture is above). Unknown numbers are reported by other users in the MIUI community, and can quickly let you know if the number calling you is spam.
This is a great feature.