No a lot to go on here. It seems as though you have determined that your compressor problem is pressure switch related.
Have a look at the page Pressure Switch for more info on them, and check under the lid of your pressure switch for a wiring diagram.
If you provide more information about how your compressor is acting when the problem occurs, I would be happy to help you diagnose the problem further, if I can.