You can file a patent online using the patent office's EFS-Web service. The USPTO's website includes detailed information on what should be in your application on its General Information Concerning Patents page under Inventors Resources and Guidance.