WASHINGTON (AP) -- Federal Reserve Chairman Ben Bernanke warned Congress Thursday that the economy could be gravely hurt if Social Security and Medicare aren't revamped and urged lawmakers to tackle the nation's thorny fiscal issues sooner rather than later.