To prevent your dog from having a marijuana-related incident, make sure to keep your goods (edibles included) in a safe place outside of your curious dog's reach, as you would with any potentially toxic substance.
Everybody processes drugs differently - including dogs - and when it comes to getting high, they're best left sober. While that news may disappoint some dog owners, the dogs don't need to pass around the joint to feel at peace with the world. For them, just spending time with you and a belly rub is enough, and watching your high-self trying to recall how many fingers you have - that's just a bonus.
If you think your dog has overdosed on marijuana, take him or her to the veterinarian immediately to make sure the dosage wasn't fatal. Although the symptoms will most likely disappear within a matter of days, they may feel more at ease under a professional's care.
There's no need to get your pets high. They're high enough on life already.