sounds like a ground came loose somewhere... when you say aftermarket.. do you mean just a head unit? subs? amps?
more info on the setup would help, also did you install it yourself?