wanting your ex back but him not wanting you

what do to if your still in love with your ex but you only talk as friends and he's told you multiple times you won't get back together