Ticks and fleas can be kept away from your pets with a DIY spray solution of one part vinegar and one part water. Fill a spray bottle halfway with the solution and spray it directly on your pets, taking care not to get it in their eyes.