How do i win my ex girlfriend back,i can't live without her she was my everything?

yes im gay and im having relationship issues. My girlfriend's ex came back into her life and she left me for her. But the only reason she met her ex was because we were taking a break....i have to have her back she is my world