Not knowing what you have tried, try Settings/Your Name/iCloud and slide off Contacts syncing. Wait a few minutes and then slide syncing on. Allow time for syncing to occur.
Last resort - have you tried signing out of iCloud and then sign back in?
Contacts - Troubleshooting iCloud Contacts
Try going to iCloud.com using a computer browser to see if the items are there and whether they are from the device or the computer. That should show whether the device or the computer isn't syncing. If the computer, try going to System Preferences/iCloud and stop syncing. Wait a couple of minutes, then recheck syncing. If the device, go to Settings/Your Name/iCloud and do the above. As a last resort, you can also try signing out of iCloud and then sign in again.