Whenever you are arrested and brought to trial, do not worry beforehand about what to say. Just say whatever is given you at the time, for it is not you speaking, but the Holy Spirit.
NIV
Now when they take you [to court] and put you under arrest, do not be anxious beforehand about what you are to say nor [even ] meditate about it; but say whatever is given you in that hour and at the moment, for it is not you who will be speaking, but the Holy Spirit.
AMP
But when they shall lead you, and deliver you up, take no thought beforehand what ye shall speak, neither do ye premeditate: but whatsoever shall be given you in that hour, that speak ye: for it is not ye that speak, but the Holy Ghost.
KJV