I think you made the wrong move because of your wrong assumptions or expectations. Anything can happen anytime and this is how gambling works. You cannot play the according on your terms. Dont lose hopes like this. Be positive as it is completely possible to win even after the losses. Just think of this as your sheer bad luck and next time think and analyze all the possibilities and then make any decision.
I would suggest to take a break or stop for a while because playing again to recover the losses is not a good idea and this could be more dangerous as chances of losing money is always high as house have the edge and this would be double blow if played and lost the money.
Yes this mini break will make your mind fresh and you will get new tricks of winning so never stop but never play constantly because this will make your get bore too, if you will stop taking interest so you will start running your skills being a gambler, you can play if you think your are not earning wait and see whats wrong in your way of playing, get it and work on it you will surely win.