If you use iCloud to back up your contacts, check that the iCloud setting for the Contacts app wasn't deactivated by mistake; go to Settings > your name > iCloud > Contacts. If the setting is on, switch the toggle from off to on to resync your contacts list. Also, ensure the correct account is associated with the Contacts app from Settings > Contacts > Accounts.