Pixel effect

i’m sure you get asked this all the time but how exactly do you achieve the pixelated effect?