Why do I now wake up early? And I sometimes wake up in the middle of the night? And I go to bed at 12am.

Early wake uo. You should try to get to bed earlier and you should relax before bedtime, meaning turning off all electronic devices and stop texting anhour before bedtime. Listen to doft music and try taking awarm bath.