Yes, staying logged into the many different accounts we use on a day-to-day basis is a huge convenience, but it can come at a high cost. The best way to stay safe is to log out of everything more often. This will close any browsing sessions you forgot you left open and lock out anyone who may be trying to get into your accounts.
Take advantage of some newer features that can protect your data, like the Hide My Email on Apple devices. Like this article explains, “you can use this recently expanded tool to generate burner email addresses whenever you need them, ensuring you won’t get spammed by long-deleted apps until the end of time.”