Neb came home at 6 weeks because his rescue adopted out his mother early. I was lucky in that my brother lived in my basement and could take him out midday, but otherwise he was crated while I was at work. When I was at home, I took him out every 1-2 hrs though. Take your guy out more frequently, praise and mark (good pee!) going potty.
For nighttime, you will likely want to take away water a...geez, I don't remember how long - but a certain amount of time before bed so they're more likely to last from their last bedtime potty to morning.
Neb, Beagle mix, born April 2008
Xerxes, Beagle, born 2016
Agis, German Shepherd/Rottweiler mix, born August 2019
RIP Luc, German Shepherd mix, July 2003-December 2018
RIP Teagan, German Shepherd
Timothy and Cordelia, kitty cat terrors!