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