Sleep issue after weaning

Tasmina • Can't wait to meet my baby boy in April 😍

Hello everyone. My son is 22 months and I’ve just weaned him from breastfeeding.and we co sleep.Today is like the 5th day. He wakes up once or twice at night and gets really upset. He will cry and scream for like 45 mins or more.then I have to sing like a million song and he will fall asleep. Is there anything I can do to help him sleep better so that I can catch on some as well.any suggestions will be appreciated.Thanks