Immediate is the debugging window.
It is here that the output from debug.print will appear if you have used debug statements in your code.
If it is showing up as free-floating, you have at some point dragged it away from it's docking area in the VB IDE.
Try dragging it by the window title, down to the bottom of the IDE window, where it should dock once more and stop bothering you.