Use Built-In Call Blocking on iPhone
Apple provides call screening and filtering options through the Phone settings on supported iOS versions. Depending on the available features, users can silence unknown callers, screen calls before answering or filter suspected spam. Open Settings, select Apps, then Phone, and check the available call-management options on your device.