1998 Pontiac Firebird

My radio keeps cutting on and off on my Firebird. I thought it be my radio and wiring but I replaced it with a brand new one and still the same symptoms. It just cuts on and off at random.