I know that men work and get money for themselves and they pay Khums from the money the earn but the important question is what about a woman? How does she have to pay Khums ? She doesn’t work. What is the ruling on her?

Khums is on any profit gained that is surplus to need. So for example, if a woman gets a gift which she does not use and date of khums arrives etc