First time birth control user

I just got prescribed bc and the doctor told me to take it at any time. But then I was also told I can take it after my next period. My next period on July 27th. Also this is my first time using birth control so I’m not really sure how to use it.