We feel for you , we are going through the same thing with our 9 wk old jasper, love him to bits but my god its hard work. Went to vets today as he had upset stomach , hes now on a three day oral worming substance. We have had sleepless nights since we got him last friday and plenty of accidents from both bits although im getting clued up with the signs and pick him up take him outside where he goes without fail.
Someone mentioned a training excersise where you leave the pup in a room on its own and close the door, go back five min later and praise if quiet, then do it again but leave it ten minutes and so on, Jasper is just getting used to short spells on his own but night time still a problem. Going to borrow a crate and try this to see how he likes it before buying one .
I hope it all goes ok for you
Very tired Jaspers parents.