I can't help with the pee-ing unless he has a vet problem.
Remove ALL temptations you tell him No! for. Puppyproof like you would for a toddler. Put EVERYTHING away or out of his reach. Catch him doing something good and mark it -- either with a word (Good!) or a clicker.
Like Msmaria says: it'll get easier.