Do not remove the netting from the hedgehog.
Instead cut away the netting around the hedgehog making sure it does not run away as you do so. Place the hedgehog in a secure container and take it straight to a hedgehog rescue or a vet so that they can untangle the netting from the hedgehog and check for damage.
It is important that you leave the netting in place on the animal as it often cuts into skin tissue causing hidden damage, or cuts off the supply of blood from limbs causing constriction injuries. These may flare up several days later so netting casualties should not be released immediately but will need to be kept by a rescue for up to a week for observations to ensure the hedgehog really is fit and well.