HI MAACCY
you will get this prob from time to time , but your dog is still a pup what is he 5or 6 months old, all he wants to do is play, his life is a big game to him at the mo so what you need to do is play him at his own game.
you need to make him dependent on you keep him geussing break his rountine, it sonds like you have got him in a rountine, things like feeding him at the same time every day, walking him in the same places,
when you do all this the pup gets comfortable with whats going on in his life so then he starts to take the piss a bit.
so when you break rountine the pup