Period problems

Middle of my birth control almost a week and a half after my period I started again.. severe cramps and leg cramps.. my doctor says the best thing for my endometriosis is birth control I’m in constant pain...