First, accept the loss. It does not make you a loser. No one can make money in every trade. Losses are a part and parcel of trading.
Second, analyse the process. Understand your basis for the transactions executed. Did you have a plan? Did you follow the plan? Change the plan only based on an analysis of all transactions for at least a month, and not based on a single transaction.
Finally, assimilate the learning. Identify a clear next step. if you did not have a plan and did the transactions based on gut feeling or your reading of the market, then develop a plan. If you had a plan but did not follow it, then take a resolution to follow your plan.