For more detail you can go on this link:-
A trademarked phrase identifies your specific product or service and distinguishes it from similar products or services [source: Simon]. In order to trademark a phrase, you must prove that the phrase has a secondary meaning that differs from its primary one and that the secondary meaning connects that phrase with your product or service
You register it with uspto.
Be aware that you cannot own the phrase. A trademark only gives you the exclusive right to use the phrase to identify your product. Someone in a different industry can use it freely.
You obtain enforceable trademark rights by being the first to use a distinctive brand on goods or services in commerce. Done.
Registration in the USA is entirely optional.
same way you trademark anything else.