The past tense of know what to do is knew what to do.
The third-person singular simple present indicative form of know what to do is knows what to do.
The present participle of know what to do is knowing what to do.
The past participle of know what to do is known what to do.