In high school I remember asking or telling a friend that I had "writer's block", which is the worst thing that can happen to a writer. She said "it is when your imaginary friend is not speaking to you." Recently I've been struggling with " writer's block" and these ways seemed to help me. I hope they help you. Here's a short list of things to do when you can't write. Whether it is because of "writer's block" or that you're bored, this list should be able to help.
1. Go out and explore
Getting fresh air or going to a new space can help. Changing your perspective can always help you.
2. Watch a tv show or movie
Sometimes inspiration can come from a favorite character. A new storyline can become real when you become inspired. Don't watch too much, if you have a deadline.
3. Listen to music
4. Force yourself to write
5. Call a friend
Friends are awesome! They tend to be the best people to turn to when you have any issues or struggles when writing.
6. Eat a meal
Granted you should not eat your burger or meal like Kate Hudson did in "How to Loose A Guy in Ten Days", but at least give fuel to your body. You cannot really function properly if you don't eat.
7. Stretch
Be like this football player and add some fun to your stretch routine. He makes it look fun.
8. Read a book
9. Read over the directions again - if it's a writing assignment or paper
10. Ask for help
Hopefully this list helped you. Remember...
Don't give up on your writing, especially if it's a way to express yourself.