The past tense of go to the trouble is went to the trouble.
The third-person singular simple present indicative form of go to the trouble is goes to the trouble.
The present participle of go to the trouble is going to the trouble.
The past participle of go to the trouble is gone to the trouble.