As a practical matter, while I occasionally hope for the Karma train to run smack dab into someone, I find it useful to consider God as being at least as good, rational, and understanding as the best person I know.
(If you have grown children, were a good father or mother, have a good relationship with your children, and are proud of them---then it also works well to consider God as dealing with you much as you dealt with your children.)
The 10 commandments are pretty basic. Avoid trying to put your "sins" on a "profit & loss" basis. Most importantly, talk to God---I have found that He loves to discuss your life and His plans for you with you.
Develop a relationship with Him and you'll come to understand what I am talking about.