And it can't be known when is that "right moment" by design.
You are going to be leaving that on the luck factor at that instant. Whatever happens next, the player needs to make a bold decision as to whether continue or not. A win and they can keep it and leave, a loss and they should also leave keeping the rest of the balance intact.
For a first time gambling, I suggested the OP to have fun and keep a limit on to what they play with. Let that be a learning experience for them as to why the casinos always win run profitable and the players always walk away with losses.
Even then, they should have fun and visit again after a year.
I agree with that suggestion. Feel the vibe first. Use small bets, learn how the system works, and don't let emotion get the better of you.
For a starter, that will be the key to knowing what's behind the curtains of the gambling system and how the house edge is working. There will be times when we can win x1000 in early initial bets and we will think we are so lucky but then after that, it will be difficult to catch another win. House edge.
That happened to me back when I was still a non-VIP rank. I was so sure that my account was lucky and I even compared it with other VIP ranks who are having a hard time winning such high multipliers. I was wrong. When I reached the first VIP rank, it became clear to me that winning is really hard at every casino game.
I also suggest OP try and check sports betting and if you like it, limit yourself there and just use the casino games if you want to wager more by placing small bets and running it in auto bet feature.