plzz help

sunita

i have irregular periods so for having periods on time doctor suggest me some medicine after taking medicine i had only brown discharge i had a protected sex so is there is any complications?