Help please

Hey guys i need your advice on something. How do i gain interested back from a guy. We use to date and then we broke up and he said he lost interest in me and i am having his baby now