hey everyone i need some help,

I've got a 2009 Aveo and if it doesn't run for a few hours, once you start it there is a grinding noise coming from the engine bay area for a couple seconds and then it goes away, but if the engine is warm it doesn't do it. What could possibly be the problem?

greatly appreciated for your help.