Usually the tick has to be attached for 48 hours for transmission to occur. I found this brochure about Lyme and your dog...basically if you have the tick, you should take it to the vet along with your dog.
http://www.LymePrevention.com/pdfs/Lyme_brochure.pdf
I'm not sure about prophylactic treatment. I'd definitely call my vet on this one.