You can go out drinking with people who rejected you or are your ex. Like its perfectly normal as long as all parties are mature, move past the embarrassment, maintain relationships without the expectation of change to benefit them (i.e ig i spend more time with them, they'll date me).
Sometimes you socialize with them because you were better as friends than as partners.