Massachusetts Law About Restraining Orders
There are two types of restraining orders:
Domestic Violence Abuse Prevention Order (c.209A)
Harassment Prevention Order (c.258E)
If you are not sure which type you need, see:
Am I Eligible for a Restraining Order? which outlines the differences between the two.

