How to block unknown numbers automatically

How to block unknown numbers automatically