Unable to avoid always waking up at the same time in the night

i have sleeping problems. i fall asleep with no problems, but wake up almost always at 2am. and then can’t fall asleep until 3-4 hours later, if so. This because 20 years ago i had to force myself to automatically wake up at that time to take care of my mother (every 4 hours). now that she has passed away, i cannot get rid of that body automation even if i don’t need it. what can i do correct that so that i may have a full night’s sleep

I find that when that happens to me that just getting up and taking a pee will relieve tension and I can get back to sleep.