Firstly what headunit is it?
Second what amp is it and was it working when you got it???