Smartphone Questions? Ask A Smartphone Technician for Answers
For a replacement you have to call Apples warranty phone number or visit an apple store. Most often a reset will fix the issues you are having. It sounds like software glitches are causing this issue. Also if you call warranty they are going to probably have you reset it over the phone with them before they will replace it.