How can I choose the number of vertices on an existing object, like when first adding

When I’m first adding an object to the scene I can select the number of vertices it will have but after I added the option is gone. Is there a way I can select the object and edit this or do I have to delete it and make a new one. I know I can ctrl+r to add an edge but this isn’t logical. Thanks in advance for any help.

Is there a way I can select the object and edit
No, you only have the options at the time you add the object

You can go back in history: