A Problem!!!!

okay so i knew this girl and this guy for a long time, and they ended up going out and i never told the girl that i had like the guy so i just fell off with it. but i still had my feelings, they wanted me to be a their relationship but i never told her that i liked her bf. but i only said yes because i liked her bf. so now me and the girl aren’t cool anymore and her bf wants to leave her for me...... what should i do😣