Heat Problems on 2003 Nissan Altima

Just bought this privately and the heat is horrible. I Only get heat when driving and it blows cold at idle. My friend has an 04 Altima and he has the same problem. Are these cars known for this? What could be the reason?

Asked by for the 2003 Nissan Altima