Use the newest PHP version that WordPress recommends and that your hosting provider offers. You can see the current recommendation on the WordPress requirements page.
Avoid versions that are no longer supported. They stop getting security fixes, which is the main reason to update in the first place.

