I think you're looking at the Law of Moses when in reality you're actually referring to the Mosaic Covenant. And, within that Covenant, the laws were established for Israel to abide by.
Now, with Jesus, we have the abolishing of the Old Covenant, mainly, the Mosaic Covenant and the establishment of the New Covenant through Jesus.
This is explained clearly in Hebrews 8:7-13
7) For if there had been nothing wrong with that first covenant, no place would have been sought for another.
8) But God foun fault with the people and said (quoting Jer. 31:31-24) The time is coming, declares the Lord, when I will make a new covenant with the house of Israel and with the house of Judah
9) It will not be like the covenant I made with their forefathers when I took them by the hand to lead them out of Egypt because they did not remain faithful to my covenant, and I turned away from them declares the Lord.
10) This is the covenant I will make with the house of Israel after that time, declares the Lord. I will put my laws in their minds and write them on their hearts. I will by their God and they will be my people.
11) No longer will a man teach his neighbor or a man his brother saying 'Know the Lord' because they will all know me from the least of them to the greatest.
12) For I will forgive their wickedness and will remember their sins no more.
13) By calling this covenant "new", he has made the first one obsolete; and what is obsolete and aging will soon disappear.
Essentially we now have a different relationship to God with the New Covenant. So instead of having to please God through laws and sacrificial requirements, Jesus came and fulfilled those requirements perfectly requiring us only to have faith for salvation. Instead of having to adhere to external rules, God puts the law inside of us through his Holy Spirit. Bottom line is, the Holy Spirit will guide you towards obedience, and will let you know if you're doing something that displeases him because through accepting him, you are in the New Covenant with him.
Now, with Jesus, we have the abolishing of the Old Covenant, mainly, the Mosaic Covenant and the establishment of the New Covenant through Jesus.
This is explained clearly in Hebrews 8:7-13
7) For if there had been nothing wrong with that first covenant, no place would have been sought for another.
8) But God foun fault with the people and said (quoting Jer. 31:31-24) The time is coming, declares the Lord, when I will make a new covenant with the house of Israel and with the house of Judah
9) It will not be like the covenant I made with their forefathers when I took them by the hand to lead them out of Egypt because they did not remain faithful to my covenant, and I turned away from them declares the Lord.
10) This is the covenant I will make with the house of Israel after that time, declares the Lord. I will put my laws in their minds and write them on their hearts. I will by their God and they will be my people.
11) No longer will a man teach his neighbor or a man his brother saying 'Know the Lord' because they will all know me from the least of them to the greatest.
12) For I will forgive their wickedness and will remember their sins no more.
13) By calling this covenant "new", he has made the first one obsolete; and what is obsolete and aging will soon disappear.
Essentially we now have a different relationship to God with the New Covenant. So instead of having to please God through laws and sacrificial requirements, Jesus came and fulfilled those requirements perfectly requiring us only to have faith for salvation. Instead of having to adhere to external rules, God puts the law inside of us through his Holy Spirit. Bottom line is, the Holy Spirit will guide you towards obedience, and will let you know if you're doing something that displeases him because through accepting him, you are in the New Covenant with him.