Check out the article below. If you are wanting to remove your number from iMessage, then the first article will assist with those steps. If you are wanting to block a number that is either in your contact list or just a random number, the second article will sort you out.