The past tense of have nothing to do with is had nothing to do with.
The third-person singular simple present indicative form of have nothing to do with is has nothing to do with.
The present participle of have nothing to do with is having nothing to do with.
The past participle of have nothing to do with is had nothing to do with.