Bed sharing

I've bedshared (I know, I know) with my 1 month old pretty since she was born so I could get sleep and now I can't get her to sleep in her crib or alone for long at all. I mean 15 minutes and she's kicking around and then she starts fussing. How do I break this habit!