Melatonin

Can I take melatonin? I’m 26 weeks pregnant.