Unfortunately there isn’t much you can do. You can attempt reinstalling iOS using iTunes. Create a backup using iTunes. Once it’s reinstalled, restore the backup.
That’s the best thing you can do to attempt to give it a minor speed bump but unfortunately the old hardware can only give you as much performance as you are seeing right now.