We've had a couple of dogs over he years that liked to get up in the middle of the night - for no apparent reason than to bother us.
They got a very firm "Go lie down".
It might take a week...which will seem like a month...but if you're consistent, things should improve.
We're currently dealing with Nigel (new to us 6 weeks ago) barking in the late afternoon for no reason. It is very hard to ignore him, but we do.
No correcting him at all...just ignoring him.
Yes ... it is very noisy, but even in just the past two days we have seen a tremendous improvement.
Patience is a virtue!