Suddenly afraid to go to bed?

Jen

My daughter has been sleeping in her crib thru the night since the summer...I️ used to be able to put her in her crib and she would just go right to sleep. Now all of a sudden she starts screaming and acting like she’s scared and latches on to me and my husband and won’t stop crying until we hold her until she falls asleep....not sure what to do? Advice? Should I️ try the toddler bed maybe? A pillow? She has a noise machine with a night light