Dog wee!!

16 weeks pregnant and since about 7weeks pregnant my dog keeps weeding in the house! I've had him 2 years from a puppy and hes never peed in the house since being house trained . I really don't know what to do, I love him to pieces but it becoming so frustrating! Also have a nearly 4 year old . Please help!