If a girl does not have sex with a man then she may do it with another woman or by her self. If she does it by her self and it is called masterbation if she does it with another woman it is still sex.
There is no one age where all men stop being able to have sexual intercourse. Some men become impotent as young as their 40s, while others are sexually active into their 80s.