t know the timing for all of this,
and how long you
and your ex have been apart, but
cervical cancer takes some time to develop if it's caused by HPV. Not all cervical cancers are caused by HPV, but about 70% of cervical cancers are caused by the 2 most high risk strains of it. (Smoking, using birth control for a long time, having more than 3 children, and other things can also contribute to it.)
In most people (90%), HPV clears from the body within 2 years, and cancer won't develop.