First off, ensure you buy waterproof LEDs—ones specifically designed for outdoor use. Secondly, clean the surface where you want to stick it thoroughly. Thirdly, measure twice before cutting once; snip your lights based on length requirements ahead of time then using an appropriate heat gun secure them by melting any extra glue present at either end (cut side).