My gf says she isn’t sexually attracted to me anymore bc she found out abt my ex

Me and my gf who has bpd (i am her fp) have a mostly great relationship with very little problems but recently she wasn’t feeling the best and pressured me into telling her if my ex was my first and I was honest with her and told her yes. She then split on me and said a lot of things but I know to ignore those bc she doesn’t acc mean it but even when she got back to her normal self she told me she can’t imagine herself having sex with me and she gets disgusted by my genitalia because I’ve done things with my ex in the past. I told her how I think that’s unfair especially since she has more history than me but I stopped myself bc I realised she can’t help how she feels. Is there any way that attraction can come back? Or are we doomed to fail