birth control bleeding?

i just started the pill and i started spotting but it ended up turning into more of a period. i skip the sugar pills but curious why/if this is safe. I got on the pill to stop periods and cramps and now i have them. 🙄