If your dog takes pain medication then it is ideal to try and time it to be given about half an hour before you do an exercise session. This way the pain relief has enough time to decrease pain and make the exercises more comfortable to do.