Dog advice

How to stop a dog peeing in the house?

She doesn’t have puppy pads around the house.. she is over one years old and she still seems to only pee in the same spot at nighttime in the hallway just the once...

Never does any other business in the house..

How do I stop this?

I want to stop giving them water at nighttime but I feel like it’s neglect and they should have water there