sleeping problems?

I'm 19 weeks and been having trouble sleeping. sometimes i go to bed at night around 11pm and only sleep till 2am and up for the rest of the night then fall back asleep around 9am and sleep till like 5 pm . or like most nights, I don't fall asleep until like 7am. I'm tired of feeling this way. a month ago, I didn't have this problem 😢😭