Advise please

Hello , my daughter is 18 months old and slept through night since she was 6 months old, then nearly 4 weeks ago she started waking up every night shouting so I get up and take her to sleep with me cos I’m too stressed out during day and all I want is sleep, if not I will go mad. Now I don’t know how to break this habit , should I just leave her to cry ?