Why is my heater blinking going off and on and blowing cold air? on 1999 Buick LeSabre

heater will come on then click and blow cold after a while it will blow hot again only on the driver side. Everything else seems to be wworking the fan the vents. The blinking started after the battery was looked at

Asked by for the 1999 Buick LeSabre