baby sleep in crib help

I have a 7 month old and recently she will NOT stay asleep in her crib but if I bring her in bed shell sleep all night. Im at a loss idk what to do to get her to stay asleep and sleep in her crib. This just started a week or so ago 😩