Regarding a woman who is having the feeling of lesbianism, Dr. Zainab Al-Alwani, stated,
It seems such a person is suffering from some psychological problems. In addition to that, exposure to a certain type of sexual activity is another terrible cause of this problem which some ladies are suffering from.
Therefore, such a lady needs to start purifying her mind and heart by making sincere repentance to Allah (tawbah) and asking Him for forgiveness. She should strengthen her faith by doing good deeds often. Then, she should avoid watching anything related to this sexual behavior. She has to wean herself off this matter completely and give herself about two or more months to see the change.
In addition to the aforementioned, I think when she gets married, she would be purified thoroughly as she will be thinking more profoundly about family and its institution in Islam and will be able to develop such noble concerns that can positively occupy her mind.
May Allah guide all of us to what pleases Him!