Adding window/text in realtime

Hi,how can I add a window/text in real time in Unity?
Example:I create a window/text and it automatically send it to the player

What do you mean by sending text to the player? Do you mean a string value or a command? Please advise @mariomarietto22.