8 month old and sleep

My son just turned 8months and the last few nights he's been waking up wide awake at odd hours of the night he's been getting over a few things like an ear infection (cleared up) and bronchiolitis (which he's on breathing treatments for) I will bring him in bed with us and offer him a bottle some times he'll take it other times he refuses it and just snuggles into either me or my husband and falls right back to sleep, then I move him back into his crib and he remains asleep.

Has anyone had this problem and what are some tips.