A few settings help a lot: lower the screen brightness, close unused apps and turn off location services you do not need.
Avoid letting the battery drop to zero or sit at full charge for long periods. Keep the phone out of the heat.
Update the software regularly; updates often improve battery efficiency.