About burnt tubes?

Sonya
I have a question to ask y'all about? My doctor give me some of these pills called clomiphene citrate and my tubes are burnt so why is my doctor give me the pills then please give me some good answers