I have a small question?

How do i go by to block someones whole ip range?