Unique random numbers

how would you make a random number unique there are going to be 4 numbers 3 random ones and the answer the answers will be 3 or 4 different to the actual answer but how would I make sure that the same number was not repeated?

any help would be awesome