In need of advice mommas

Christel

So me and my little princess bed share we have since she been born, but the other night she fell off my bed when I was asleep and got hurt. I do feel like a piece of shit mom for that cause it broke my heart. Is there anyway I can prevent her from rolling or crawling off my bed? She wont sleep in a crib she cries all night long. She’s almost 9 months old. Any advice would help and be greatly appreciated.