No, but if you own an iPhone 13 or 14 you should because of the warranty. That and most repair shops use third-party parts. While there is nothing wrong with third-party parts Apple will give you a better deal if your phone is still under warranty.