तस्माच्छास्त्रं प्रमाणं ते कार्याकार्यव्यवस्थितौ।
ज्ञात्वा शास्त्रविधानोक्तं कर्म कर्तुमिहार्हसि॥24॥
tasmāc chāstraṃ pramāṇaṃ te kāryākāryavyavasthitau jñātvā śāstravidhānoktaṃ karma kartum ihārhasi
Therefore scripture is your authority in deciding what should and should not be done. Knowing what is laid down in the rule of scripture, you ought to do your work here.
The last verse of the chapter gives a clear instruction: when the question of what to do and what not to do comes up, take scripture as the standard. First know, then act: that is the order given here. For an ordinary householder it means to keep learning from texts like the Gita and from elders who know, and to carry out one's duties with that understanding.
tasmat: therefore; shastram: scripture; pramanam: the authority; te: for you; karyakaryavyavasthitau: in deciding what should and should not be done; jnatva: having known; shastravidhanoktam: what is laid down in the rule of scripture; karma: action; kartum: to do; iha: here, in this world; arhasi: you ought

