How many times does the coding in the loop function repeat?

Hello,
I was wondering how many times the loop function repeats??

As long as the power is on.

Its endless correct?
I thought so but was confused as mine stopped after 5

Post the code, using code tags.

Then your code did that. Please post it, in code tags!

Your what stopped after 5 ?

Post your complete sketch, using code tags (the </> icon) when you do