Melatonin for 2 year old?

Has anyone given their two-year-old melatonin to sleep better at night? My daughter has been waking up at about one or two in the morning very often for the past few weeks, and she’ll stay awake for a few hours before she decides to go back to sleep.

I’m at a loss for what to do, because at this point I’m losing a lot of sleep and we have a newborn that is two months old. I know it could be sleep regression, but if I can give her some thing until this passes I would love to do so. She’s got a doctors appointment here in a few days so I’m gonna bring it up there, but I was curious what your other moms are doing.