How do you get motivated to write?

Maybe motivated is the wrong word. When I settle down and say, "fuck it, I'm about to write some shit down", I end up staring at my screen for 15 minutes. Nothing crosses my mind. It's like my brain goes, "finally, I can rest." and just shuts down.

I'll check back tomorrow whenever I wake up. Any tips will be helpful. Thanks!