Do you mean the Google Assistant? Sometimes, it can pop up randomly, especially if it thinks it's heard the wake-up phrase. You can disable the Assistant by going to
Settings>google>settings for Google Apps > Search Assistant and Voice >General >toggle off Google Assistant.
Also, toggle off Hey Google in the Hey Google & Voice Match menu