Waking up

My baby is 5 months old she wakes up a few times in the night but that’s usually fine because she feeds me go right back off But she started at at 4/5 waking up and refusing to sleep even tho she’s still tired and when she does fall asleep with me holding her she’ll wake up every time I put her down this is usually like two hours of me just rocking her to sleep again and again what can I do?