Having acquired the state of a warrior you are eligible to act in whatever way the stature of a warrior demands out of you. But you are not entitled to any benefits resulting from your actions. At the same time you are not entitled to a state of not acting at all. Thus you should act according to you stature without any hope of enjoying the fruits of your actions.
Mind fixed on duty and all thoughts about the fruits of your action abandoned; such equanimity of mind is the essence of yoga.
Bhagavad Gita - Chapter 2; verse 47, 48