It is generally recommended to have the battery replaced by an authorized service provider or an Apple store. Trying to replace the battery yourself may result in damage to the device or voiding the warranty.