Does anyone know of any guidelines state or federal for county sheriffs depts on roadblocks or dui checkpoints

I live in Mississippi in Prentiss county to be exact and i would like to know if there are any guidelines that our county sheriffs dept have to adhere to it seems to be a gray area I received a ticket in a roadblock here and i have a very strong idea the roadblock was illegaly set up but I need to be sure before I attempt to fight the ticket so I need to know of any web sites or laws concerning Roadblocks or safty checkpoints