At what age does erection a man stop getting hard

At what age does erection a man stop getting hard