Turn off then turn on the transponder, while waiting to recycle check for a possible electrical issue. Ammeter or volt indicator.
Check circuit breaker. Reset after appropriate cooling down period.
Call ATC and request to proceed without transponder. If denied climb or descent out of said Airspace.