As a trader we need to trade as per market sentiments based on price action, if you incurred loss today. Stay clam and retrospect your mistakes, come back tomorrow.
Any action done in panic state of mind will not yield fruitful results. First you need to work on yourself to avoid your mind and emotions getting into a panic state
As a Beginner, you need to know how to control your position sizing - I recommend you watching this video on risk management -https://youtu.be/IkFTD81JhcY