Sorry, but it's literally as simple as closing the tab. I stopped using Facebook on a regular basis in 2019 by uninstalling the app from my phone as well as just not logging on from the desktop. I never found it so addicting that I couldn't go without it for awhile.