Still not sleeping through the night

Anyone else’s almost 2 year old not sleeping through the night? He’s waking up 2-3 times every night. Most nights he’ll fall back asleep quickly but there are other nights he’ll stay up for 30mins to an hour. I was thinking of asking his doctor about melatonin but all labels say 3+ years.

Anyone have any advice? I’m struggling here.

Thanks