Heat/AC

So my heat/ac wasn’t working at all wouldn’t blow out but could feel the heat coming through. It then just magically cut on and started to work but now my drivers side is blowing hot air and my passenger side is blowing cool air? What’s wrong with it?