How to to dope in a structure?

Please help me. How to dope a crystal structure using ASE.