Installing Outdoor Motion Detector Light

I’d like to install motion a detector light in front of my garage so when i get home late at night the light will turn on.  What are my options?  What should I avoid? 

Home security lighting