3 periods in one month

so this month ive had 3 periods. they would come for about 4-7 days and then i wont have it for 5 days and then it'll come back. should i get on birth control or?