My daughter won't latch anymore..

Taylor
I gave birth two weeks ago, in the hospital she latched just fine. Now we're home and she won't do it, she had jaundice when we left the hospital and it's gotten worse because she won't eat. I've resorted to pumping and bottle feeding. Is there any tricks to try and get her to latch?