Posterize Effect
Open the image you want to use. Mine is below:
Now duplicate the layers by going to LAYERS>DUPLICATE. Now go to COLORS>POSTERIZE. Set the levels like mine below. Or you can adjust them to your liking.
And here's what it should turn out like: