Loss memory

Changed battery on Mercedes-Benz with no power back up loss memory won’t start anything I can do what will this cost me