You should not spray brake cleaner on any metal parts of your vehicle, as it can rust and ruin the paint job. But, you can apply it to other parts like rubber and plastic, and this is safe to do as long as you don't leave it for a long period of time. However, it is better to let the brake cleaner dry completely before doing any repairs.