Each religion is governed with different moral codes which includes the practices, teachings, etc. It is basically up to the person to follow the moral code of the religion. It is through each one's faith and conscience that one is able to distinguish between right and wrong.