HPV is incredibly common - it's estimated that up to 90% of us will have it at least once in our lifetimes.
Most of the time, it's not serious. There are two different kinds - low risk and high risk, and the high risk kinds can lead to cervical cancer. The low risk kind can lead to having genital warts. Not everyone who gets either kind will get cervical cancer or genital warts.
How long ago did she have it, or does she now? In 90% of people who have it, it usually clears the body within 2 years. Just like a cold goes away, HPV does.
There is a vaccine available for HPV. There are different age requirements depending on where you are. In the US, you can get it up to age 45. In India, it's only given to females, and it's much harder to get. In Europe, it depends on the country. Talk to your doctor about it and see if you're eligible where you live.
If you can't get the vaccine, using condoms significantly reduces your risk. If you are both female, your risk is reduced a lot, as well.
If you like this person, HPV isn't a reason to avoid a relationship. There are too many people with HPV to rule someone out for that reason.