Call animal control. The raccoon is either sick or has been poisoned.
Call your local animal control. Very good you thought to take your dog inside. An expert will be able to make an educated evaluation as to the raccoon's health.
Thanks! Your answer is awaiting moderation.