An individual that is wishing to receive a protective order from the court has to first make a proper application to the court and explain to the court the reasons and the urgencies why a court should enter an order of protection for that individual.
A lot of times we see these protective orders come about in domestic violence cases where there is a history of domestic violence, and an individual needs an extra protection order to be able to keep that other individual away. Courts will routinely enter that junction, and then within a reasonable period of time, set an evidentiary hearing so everybody can be heard and the court can gather even more evidence regarding the need for that protection.
In Florida, individuals have to file specialized petitions with the court to get that protective order.