Birth control Newbie!!

Ok so I just started the pill about 2 weeks ago. I’m mid cycle and am having spotting (not so much blood but the brown stuff) and am bloated, and having moderate cramping. I am on my third day of these symptoms.

Is this just my body adjusting to the birth control?

And when should these symptoms stop?