Ideally:
Put your feet down right as you come to a complete stop. Feet don't touch the ground until the wheels quit turning. It's all class when you come to a complete stop then wait about 1/4 second before casually putting your feet down and without being in a hurry about it..as in giving the impression that you're putting your feet down because you want to, not because you have to. It's something to aspire to..then dump your silly self when you get overconfident...
This happened to me just after putting floorboards on my Venture I came to a stop sign, it felt like my foot was on the ground and over I when...My wife was on the back

She was OK we just made sure each other was OK, laughed, picked up the bike then rode home.
I put down which ever foot I need to to keep the bike up.