I had two periods last month!!!!

I normally start in the begging of the month so it was normal but toward the end of two months ago I got my period again but then it went back to only having one period and idk why a friend said it could be stress but idk