You need to take a few steps to maintain risk management. Firstly, you need to have a clear and concise plan. This plan should include your entry and exit points, as well as your stop-loss and take-profit levels.
Secondly, you need to stick to this plan religiously. Do not let your emotions get in the way of your trading plan. Finally, you should always review your trades after the fact and see where you could have improved your risk management.