What can cause irregular periods?

I take birth control but last My period wasn’t even a day last month just a little bleeding maybe lasted an hour and this month totally missed my period Would love your advice in what this could be or why my body is doing this