Contacts disappear

When I create a new contact on my iPhone it disappears on the iPhone but immediately shows up on the contacts list on my mimi Mac. How do I fix that? How can I update the contacts on my iPhone from the contacts on my mimi Mac?
Also, every contact on my mini Mac is duplicated. It's a double list. How do I correct this? The contacts on my iPhone are not duplicated.
On your iPhone, initiate the Contacts app. Afterwards, select "Groups" in the upper left corner of the screen. From there, make sure that everything therein has a checkmark next to it.
I had problems with contacts too. I has to move them from Gmail to iCloud in the macOS app.

Later I had sync issues. I had to disable iCloud contacts every where (keeping contacts locally), gave it a while, turned it back on one device at a time (giving time in between).

Original thread: https://forums.imore.com/threads/contacts-disappear.383924/