Car will not start. I only get a clicking sound from the starter on 2006 Buick Lucerne

I already replaced the battery but the problem persists. The last time it started I had many errors on the display

Asked by for the 2006 Buick Lucerne
if the clicking is from the starter, the starter motor may have failed. start there.
you wil have the battery cable off for this repair and see if the error messages are still there.