There are two ways to reach enlightenment:
1. Jnana Yoga (path of knowledge) which ends in parabhakti (supreme devotion)
2. Bhakti Yoga (path of devotion) which ends in jnana and parabhakti
However, before we can properly follow either path, we have to purify our minds. Purifying our mind means removing negative tendencies. This is done through karma yoga. So really speaking, karma yoga is a pre-requisite to either jnana or bhakti.
Performing karma yoga, means we have to practice the following:
1. Neutralize our likes and dislikes, which help us get rid of our vasanas (predispositions)
2. Follow our swadharma or our own nature so we lessen our negativities
3. Go beyond the pairs of opposites and gain titiksha or the ability to bear
4. Move up the chain of gunas - sattwic, rajasic and tamasic
5. Unselfishly perform our duties and responsibilities
6. Understand that rites and rituals get us only finite results, but jnana gets us infinite results, so gain knowledge of vedanta
7. Serve the guru in such a way that it drops our egos
8. Make right choices and follow dharma
9. Obtain prasad buddhi, i.e., all results obtained are by His grace alone
Following karma yoga will lead to the path of jnana or bhakti by giving us:
• Vivek or discrimination
• Vairagya or detachment
• Equanimity or treating all equally
• Desirelessness