Determine the type of intellectual property you need. Is it a patent, a trademark, both, or something different?
Determine if your invention is patentable. Figure out (a) can this type of idea be patented and (b) has this idea already been described in public by someone else. You need to do a patent search and other types of searches.
Determine what kind of patent you need. Is it a useful invention ("utility patent"), an ornamental design ("design patent"), or a type of asexually reproduced plant ("plant patent").
Get ready to apply. Look at the application options provided by the USPTO and determine which ones are right for you. You may also wish to consult a patent lawyer.
Submit your application. Submit all of your fees and documents using the USPTO's electronic filing system. Please note that it may be some time before your application is examined.
Work with your examiner. If your patent examiner doesn't think your invention is patentable based on the initial application, you can have a conversation with them to amend your submission or to make your case.
Receive your approval. You get a patent!
Maintain your patent. You are required to pay maintenance fees to keep your patent active. These fees are due before the 4th, 8th, and 12th anniversaries of the issue date.