How do you get your baby to sleep?

Ka

I have a 2 month old that loves fighting sleep. Lately I’ve found that rocking her for a couple of hours will get her to sleep the fastest but I still can’t get her to stay asleep until at least 11 . Before then she constantly falls asleep for 10 minute spurts and wakes back up fussing. I’ve tried probiotics, a white noise machine, paci, you name it. Anyone have any tricks or am I just going to have to deal with this for awhile?