Devarim / Deuteronomy 13:5 · Pshat
אַחֲרֵי יְהוָה אֱלֹהֵיכֶם תֵּלֵכוּ וְאֹתוֹ תִירָאוּ וְאֶת־מִצְוֺתָיו תִּשְׁמֹרוּ וּבְקֹלוֹ תִשְׁמָעוּ וְאֹתוֹ תַעֲבֹדוּ וּבוֹ תִדְבָּקוּן׃
After the Eternal your Almighty you shall walk, and Him you shall fear, and His commandments you shall keep, and to His voice you shall listen, and Him you shall serve, and to Him you shall cleave.
Pshat פְּשָׁט
Whose counsel
When you do not know what to do, you look for advice: from a fortune-teller, from a friend, from a wise person. The verse stands in the middle of the law of the false prophet and says whom to go to.
Ramban: "after the Eternal you shall walk" is a commandment: to follow His counsel and seek from Him alone everything hidden and ask about the future, as Rivka (Rebecca) went "to inquire of the Eternal". Rashi explains each word: the commandments are the Torah of Moshe (Moses), the voice is the voice of the prophets, the service is in His Temple. And "to Him you shall cleave" means: cleave to His ways, do kindness, bury the dead, visit the sick, as the Holy One, blessed is He, did.
How Ramban and Rashi explain it
Ramban After the Eternal your Almighty you shall walk
This is a commandment: that we follow His counsel and from Him alone seek everything hidden and ask about everything to come. As it says: "And she went to inquire of the Eternal" (Bereshit / Genesis 25:22), "For the people come to me to inquire of the Almighty" (Shemot / Exodus 18:15). And so Israel will do with the prophets: "Is there no prophet of the Eternal here, that we may inquire of the Eternal through him?" (Melachim II / II Kings 3:11), "That the Eternal your Almighty may tell us the way in which we should walk and the thing that we should do" (Yirmeyahu / Jeremiah 42:3). And in Sifrei: "after the Eternal your Almighty" — this is the cloud. And this is what we explained: that we listen to the voice of His signs and follow His counsel.
Rashi His commandments you shall keep
The Torah of Moshe (Moses).
Rashi To His voice you shall listen
The voice of the prophets.
Rashi Him you shall serve
In His Temple.
Rashi And to Him you shall cleave
Cleave to His ways: do kindness, bury the dead, visit the sick, as the Holy One, blessed is He, did.
Takeaway
The verse stands inside the law of a prophet who calls to other gods (Devarim / Deuteronomy 13:2–6). So Ramban reads "after the Eternal you shall walk" as the answer: counsel about the future is sought from the Eternal and His prophets, not from one who leads astray.
"This is the cloud": in the wilderness the people followed the cloud in which the Eternal led them (Bamidbar / Numbers 9:17).
Onkelos translates "after the Eternal" as "after the fear of the Eternal", and "to Him you shall cleave" as "to the fear of Him draw near": a person cannot cleave to God literally.