Syncing problem in iPhone - ios 16

I have MN3 running on my iPad (ipad os 15)and iPhone(ios 16.1) … but every time I edit a note book in iPhone …it shows sync issues with cloud…and asks wether I want to replace local with cloud version or vice Versa…Whats the solution?