Toddler sleeping blues please comment

Vi

Please help I don't know what to do. My wife and I have not slept through night in 3 weeks. Our two year old daughter won't stay in her room . She used to but now runs in our room which we let her stay gave up putting her back on hers but she won't stay asleep she stays up screaming n crying. The Dr told us give sleep by zaebees . but that not working either

When she finally fall's it only few hours n we all wake up early and cranky. We have tried everything. Please any advice will be appreciated. Thanks