The procedure of insertion of an intrauterine device
, usually leads to some amount of spotting and this is perhaps the discharge you are observing. It will clear off in a day or two. Should you perceive increasing pain, foul smell or increase in the amount of the discharge, you should report to your consultant and get the necessary attention. Please maintain genital hygiene and abstain from sexual intercourse until the spotting subsides. Hope your query has been clarified. Wish you good health.