Creating a hashtag can be thought of as creating a live filing system.
Simply type # and then the name of the topic you want to file it under (without spaces) and your post will automatically be filed with all other posts with the same hashtag.
An example could be suppose you are writing on the topic of feminism - to generate a twitter hashtag on this topic - you start with '#' and then add feminism to it - and the output will be #feminism.