DD who is 10 months will not sleep in her cot...at all!!!

its totally my fault, i feel terrible, ever since i hurt my back the easiest thing for me has been to just lie down with her and she'll go to sleep(sometimes having to bf feed her to sleep to)
, she'll go to sleep in the pram or anywhere else really easy, i mean i took her to the beach for a swim and she fell asleep in my arms in the water lol

but every time i put her in there she screams down the place hysterically! i need help i need to get her in a routine where she will go to sleep without me having to lay down with her. i feel like ive dug myself into such a big hole.. its just so hard as she shares a room with me untill we find a place to move into..
i find i just have no time to myslef..

does anyone have any ideas on how i should go about this

im having a really terrible day sorry if this is all over the place