Do all religion believe in Karma?

Do all religion believe that "As you sow so shall you reap" / in Karma?

How can we know what we are doing is good or bad Karma?