How can i create a trigger so that when the player collides with an object, an image appears?

How can i create a trigger so that when the player collides with an object, an image appears? I already have a code which works however when I test it, the image is already being displayed in the centre of the page. I have searched several youtube videos and forums but I couldn’t find anything which could help me. I have tried looking for a button where i could untick the box so that the image doesn’t appear when starting the game and only appears when colliding with the trigger. However, I couldn’t find anything of such sort. Is there any way I could manually code this?

you say you have a code. then you should paste it.
anway all you want to do sounds like enable and disable gameObject.
I set the gameobject active false on start but you can disable the gameobject in editor as well.

public GameObject yourGameObject; //gameobject with image

void Start(){
      yourGameObject.SetActive(false);
}

private void OnTriggerEnter(Collider other)
    {
        yourGameObject.SetActive(true);
    }