How old is he?
When my dog was young, he would sleep after supper than wake up around 9pm and play for an hour or two before going to bed. I stopped this by preventing him from napping before bedtime...then walking him (a third time) for a potty break before bed.