Look down the chimney, if possible, and you can do so safely!! You might just see what is living or trapped there. Chimney animal jobs will often require the help of a professional.
To prevent future incidents of raccoons and other animals from entering your chimney click Chimney Prevention