sudo pacman -S nvidia-470xx-dkms nvidia-470xx-settings
Reboot. Done.
As far as I know, there is no package nvidia-470xx. If nvidia-470xx-dkms failed to build then there’s a different issue (e.g. you don’t have base-devel installed, or you ran a partial update).