urinary tract infection @ 19 weeks pregnant

Vanisha.
Im currently pregnant with baby #2 and my midwife called and said that i have a urinary tract infection amd should go to my GP right away and get antibiotics. I am now meant to take Amoxicillin 250mg x1 daily 3 times.
1. Will the infection harm my baby?
2. Will the antibiotics affect my baby?
3. I didnt have any signs of the infection
Can anyone give me advice as i had my son who was premature at 29 weeks with Cerebral Palsy and do not want anything happening this time round.