Once a new document has been created, either from the main My Drive window or the Google Docs window, then it will appear in a new window with the default name of Untitled document.
To rename the new document to something useful simply click in the name box at the top left, delete the existing name, and type in a new name. Once done either press return or click anywhere in the document window to leave the box and rename the document.
There is also a Rename option on the File menu that can be used which automatically highlights the file name ready for a new name to be typed in.
From the My Drive window right click on the document and select Rename from the menu to open the Rename dialogue box. Change the name as required and press enter.