how can i hide that line after inserting canvas text I am beginner

Hi , I am a newbie in unity I am trying to add a text to my display so i can attach a script to it and display a score and after I do that a line in game is visible I couldn’t hide it , need your help and thanks in, advance .