Sort:  

Great Question. Glad you asked. As it is written:

“But Jesus answered the one who was telling Him and said, “Who is My mother and who are My brothers?” And stretching out His hand toward His disciples, He said, “Behold My mother and My brothers! “For whoever does the will of My Father who is in heaven, he is My brother and sister and mother.”” (Matthew 12:48–50, NASB95)

“And He said to him, “Why are you asking Me about what is good? There is only One who is good; but if you wish to enter into life, keep the commandments.”” (Matthew 19:17, NASB95)

“By this we know that we have come to know Him, if we keep His commandments. The one who says, “I have come to know Him,” and does not keep His commandments, is a liar, and the truth is not in him; but whoever keeps His word, in him the love of God has truly been perfected. By this we know that we are in Him: the one who says he abides in Him ought himself to walk in the same manner as He walked.” (1 John 2:3–6, NASB95)

“By this we know that we love the children of God, when we love God and observe His commandments. For this is the love of God, that we keep His commandments; and His commandments are not burdensome.” (1 John 5:2–3, NASB95)

That's how you do that :)