Hello, my name is XXXXX XXXXX X'X here to answer any of your electrical questions.
How long was it off for?
minimum of 3 hours, maximum of 12
More than likely it is a connection that has been failing for a long time. It heats up and expands, gets cool and contracts. In situations like this you will sometimes have power and sometimes you wont. Normally the loose connection will be at a receptacle. What you want to do is take a lamp or even a small plug in night light. Stick it in each receptacle and wiggle it around. See if you could get it to turn on or off, and that will be where you loose connection is. This is pretty common in older houses.
That's what i figured it might be. Very comforting to get an answer. Thanks
When you find the loose connection turn the power of remove the receptacle and replace what needs to be replaced. Usually it's going to be the receptacle itself. Especially if the wires are stabbed into the back of the receptacle and not wrapped around a screw