Display then destroy an image

Ok, I don’t want to bog this down with details and I’m pretty sure I know where it all needs to go but here’s the question I can’t seem to answer:

How would I display (or load?) an image after a trigger (like within an IF statement) for X amount of time, and then have it destroy itself?

If( event)
{
Image.enabled= true;
Yield waitforseconds(5);
Image.enabled= false;
}

Something like that,

Ok, so I’ve tinkered around a bit and here’s some code that I THINK is close, but it’s not quite working. This is in C#.

IEnumerator DestroyQB()

{        

   	gameObject.renderer.enabled = false;

	tackledPrefab.renderer.enabled = true;

	transform.position = new Vector3(transform.position.x, transform.position.y, transform.position.z);

	yield return new WaitForSeconds(1.4f);
}