Period acting strange

Brittany • I am 20 years old and in love with the most amazing man. While we are not married or TTC, I`m hoping that part of our life together will be soon. 😃
Last month I had two periods, one in the middle of the month and then towards the end of the month (end of July til 2nd of August) I wasn't supposed to get this period until almost a week after it actually started. My period also started 4 days early this month. Anyone know what this could be from?