A method I haven seen to work smartly is to gamble 10~20% of your bankroll, that way incase of a losing bet you can easily recover and have a longer gambling run.
Or the point is do not gamble too much. If many others say that we can not possibly take any more money already lost, but if the amount is not large still possible I think.