Retrying breastfeeding

So I had my baby 5 months ago couldn’t get baby to latch at all so I tried pumping my mental health was at its worse then so I gave up now I want to try again because I heard or relactation when I pump I get yellow goopy stuff come out what is it and any tips