How old? It could be that Ubuntu might not be the best choice for that old machine. There are what we call flavours of Ubuntu which use a different desktop environment and user interface than Ubuntu which uses Gnome desktop environment.However, I'm worried, as i had previously attempted to install Linux Mint on an old PC
Flavours such as Xubuntu and Lubuntu might work better on that machine than Ubuntu because need less resources.
https://xubuntu.org/
https://lubuntu.me/
Because they are official flavour of Ubuntu they are as stable and secure as Ubuntu.
Regards
Bookmarks