It does not end with filing your application.
You’ll likely need to file necessary documents, respond to USPTO’s rejections (called Office Action), and so on. It could take months, and even after it finally gets registered, you need to keep maintaining its status.
There’s much more to learn, but …
It’ll be impossible to address everything here. If you have something specific in mind, please consult a professional.