If you restricted the numbers yourself, you just need to back into the settings of the phone app or the contacts app (depending on the device) and unblock them.
Now if it is through your carrier/service provider that the calls are blocked, you will have to contact them. And if the device isn't through your own account, but someone else's. Parent, employer, etc., then you have to get them to allow for the removal of the restriction.