Can’t sleep

I am in the third trimester and I’m waking up every 2-3 hours and I don’t know why. Does anyone have any tips on how to sleep through the night? Can I take a sleep aid? I’m so tired ☹️