If your first purpose was to have fun, then stick to it. It's only a bonus if you win money. But if you loses continuously, then stop already. It's to prevent yourself from losing more. The thing is when you keep on losing, you tend to get irritated and it affects your emotion. So the best thing here is to stop. Stop gambling for a while and let yourself to cool down to avoid losing more
It is easy to say that but to be honest, gamblers doesn't think like that. Most gamblers are gambling because they want money, they want profit aside from the fun which is their secondary reason why they are gambling
This is a complicated issue
As most people are very well aware that they can't win in dice other than through luck, they knowingly come to play mostly for fun and excitement at first. It is only later, probably after they have already won something, their attitude changes more toward the "profit" aspect of gambling, even if this process of "change" happens unconsciously. People can't quite understand when and how such a change takes place, but this lack of understanding doesn't make it less real. And then they turn greedy, stop playing for fun and start chasing their losses (which are a given). The results are predictably devastating
If you lose more money, it is hard to stop until you still have money in my experience. The best thing to do when you are gambling is that get a small amount of money already so that you can't gamble anymore if you lose your money on that day
If you can stick to your guns, so to speak, no matter what, that is, to avoid falling into the trap of greed described above, you should be ok