I just start to disconnect myself from social medias and any other app then I just finish to do what I have to do with this app then I close it too.
Make your mind that after a certain time you will not use any electronics. You will just spend some great time with your family. Set up a time. For example I shut my phone after 9:00 p.m. You need to press a tick mark and then you just power off your electronics. Focus on what’s good. Hope this helps!