What can I do?

How can I get my three year old to sleep alone? She has slept with me on my bed right next to me since she was born… i have to lay with her for her to go to sleep… I have a newborn so I can’t have her with me anymore… :(

I tried for a while to sleep her next to my bed I got her a mat and she would still get up and sleep with me