If you’re going to work from home, do so for a company where WFH is first class. I’ve worked for remote-only companies and for mixed companies. The mixed ones were really terrible WFH experiences. The remote-only / remote-first ones were excellent. It really makes a difference.
/anecdote