What's the thinking with these pulleys?

Do you replace the entire unit, pulley & mount or just the pulley?

Do you use genuine or after market?