I had bought an I Phone 5S. Two days later the screen started behaving erratically. I thought maybe it was a software problem so I took it back to the store where I bought it they guided me to an apple care centre. They told me that it was the hardware problem. I had got a defective product. They helped me out with the procedures and got a replacement for the defective product.