I beleive you have a control box for a 3 wire pump and it's bad but... the wiring goes from your power source, circuit breaker or fuse box, to the pressure switch, then to the control box and then to the pump in the well. That box shouldn't click, the pressure switch does though, but if it does, it should only click whe nthe switch does and only to start the pump.
I think you'll have to call in a pump guy, well driller or plumber that can pull the pump. They'll check the electrical stuff and tell you what is wrong if anything and then whether they have to pull the pump.
Gary
Quality Water Associates