It depends how many, and where, for the manufacturer to consider a replacement.
From memory, I think iphones require 6 or more stuck or hot pixels to be replaced as a bad screen, except if it's in the center of the screen.
As I said earlier, though, camera firmware can sometimes fix it...