Talk aimlessly is the present tense of talked aimlessly.
The third-person singular simple present indicative form of talk aimlessly is talks aimlessly.
The present participle of talk aimlessly is talking aimlessly.
The past participle of talk aimlessly is talked aimlessly.