I agree, more info is a must.I'm not an expert in potty-training, but in order for anyone here to help you, you're going to need to provide more information.
How old is the dog? How long have you had him/her? What is your typical schedule like for getting the dog outside? Is the dog crate-trained?
The experts will chime in if you provide more details.