The past tense of have a fling is had a fling.
The third-person singular simple present indicative form of have a fling is has a fling.
The present participle of have a fling is having a fling.
The past participle of have a fling is had a fling.