The process varies slightly depending on your device and carrier: Open the Phone app and tap the three dots (menu).
Most Android users, particularly those with Samsung devices, can find these settings in the Phone app: define call barring