help me break it

Tiara

my husband is on the road most of the year for work. my daughter since she was 3 months old has always slept perfect never woke up in the night went to bed at 9 and stayed in bed. she is now 2 and since my husband left again o let her sleep with me one night becusee she wasn't sleeping well. ever since then she has been a hassle putting to bed comes out of her room 3 or 4 times before she falls asleep. then in the middle of the night when I'm sleeping she will come into my room at various hours. last night she came into my room at 12 am and 5 am. is there a way o can break this to where she stays in her room for bedtime. I didn't think one time with her sleeping with me would hurt but I'm exhausted it's been 2 weeks of this and it just isn't like her to do this