Meet with your co-workers or other persons involved and discuss your reasons for a federal restraining order. Perhaps, for instance, you want to file a restraining order against a company you feel is copying your company logo. Compile the evidence you need to present to court for that possible trademark infringement.
Consult with a lawyer, especially one who specializes in your case's subject matter. Continuing with the logo example, you would want to consult with a trademark lawyer. Obtain your lawyer's opinion that you have a legitimate case against those copying your trademark.
File the necessary paperwork for your restraining order. Enclose with your forms the evidence for your infringement, such as photographs of the infringed logo. Your lawyer will then give them to a clerk at your local U.S. District Court, who will submit them to a judge for consideration.
Schedule your hearing date with the court after a judge has approved your motion for a TRO. Ask your lawyer to contact the defendant's legal representatives about possible hearing dates. Submit the hearing request to the court clerk after all parties have agreed on a hearing date.
Prepare well for your hearing. You and the other persons involved in your restraining order should be able to recall when you first noticed the infringed trademark and what led you judge it as an infringement. Indicate any photographic or textual evidence in favor of your restraining order.
Wait until the presiding judge decides to either uphold or lift your temporary restraining order, by the end of your hearing.