If the phone still lasts a normal day, start with the settings. Lower the screen brightness. Turn off background refresh for the apps you rarely open. Use Wi-Fi rather than a weak mobile signal when you can. A phone hunting for signal uses the battery hard.
If it dies before lunch, shuts off while it still shows charge, or only holds a few hours after a full night on charge, the battery is worn out. Settings will not fix that.
We replace batteries on most major brands, often in under 45 minutes, with a 3-month warranty on the battery repair. You get the price before we open the phone.