What to do when you are not able to think any solution ?

What you guys do when you can’t think about anything for any problem .When nothing is striking . You guys keep thinking ?
And if yes , how you think (I know you may say ,it’s problem dependent but more or less it’s not)?What you think ?

//