Here i'll try to explain how to make your text follow any path you want
Step 1: Open a new file,your favorable size,i like to work in a big space

Step 2:Select the pen tool,click the free form pen tool and paths icon,see images below

pen tool

Step 3: Draw your path(anything you want),see image below

Step 4: Select the text tool and click on the beginning of the path.
Type whatever you want there.


Step 5: If the space is not much and doesn't let you type anything else,select the path selection tool and click the little dot on the end of the path and drag it to the left(if it doesn't let you to do that,you should use again the free form pen tool and make more path,just click on the dot with the free pen form tool and draw some more path)


Step 6: If your path and text doesn't look that well, you can fix it with the direct selection tool, you can click on the little spots that creates on your path when you select the direct tool.

direct selection tool
Finished


Note: You can do it with the shape tool as well
Examples with random shapes:

Hope i was understandable