If a user has previously enabled a setting to block all unknown callers, they must reverse this setting to receive calls from private numbers.
If the built-in feature doesn't work for you, or if you want more advanced features, you can try using a third-party app. Here are a few popular options: how to unblock private numbers on samsung