Ac went out , and noticed radiator fan wasn’t spinning

So yesterday my AC went out and I saw that the radiator fan wasn’t spinning , so today I replaced the radiator fan since I’m scared that my engine might overheat but it’s still not turning on . Ps, the engine hasn’t overheated. I’ve been drove to work and back home 40 min both times plus traffic . Anyone have an idea?