Replace him with a suitable substitute on some dating platform. If you’re in a major city, that shouldn’t be difficult. If you’re out in the sticks like I am, alcohol may be your only friend. Maybe get a job or attend a college in a place where gays can be gay.
University of Oklahoma has an organization and there are probably more at other colleges in the state. I can attest to the difficulties of online dating. There may also be LGBTQ resources in your town or nearby, like a social gathering at a community center or something.