Instruction limit exceeded

" Instruction limit exceeded, your code maybe running in an infinite loop. "

Can anyone tell me what this error is and when it happens ?
And is there a solution to it?

I looked it up in the website but didn't find anything.