Ugh... is this anyone else?

I always go into my laptop with intentions to write, but I either get caught up doom scrolling or asking chatgpt to make scenes for my book just for fun. Any focus tips? I get so mad at myself!