E.F.
Figure out why she is doing it. Is she scarred? Sleepwalking? I'd put a sleeping bag on the floor of your room. She can get up and get in it, but if she gets in your bed she loses a privilege the next day. 5 nights without doing it gets her something she wants. Then slowly move the sleeping bag away from your bed back to her room...