Hi welcome to HealthcareMagic
The periods that you had is called as Intermenstrual bleeding
... It is caused due to hormonal
imbalalnce.. After few days the bleeding will get stopped,and periods will resume to normal.. not to worry much... If in case the bleeding continues then you need to get clinically evaluated...
Hope I have answered your question..