It's depends on which place you repair your phone
Apple store is the most expensive, and then is take your phone to the local repair store,
The cheap way is you buy screen online and repair it yourself
If you choose the local repair store or yourself ,you will voited your warranty.