PLEASE HELP😔

I’ve Been TTC For 5mths Went To The Doctor Today & He Wants Me To Hold Out & He Has Put Me On Birth Control Pills For Three Months To Regulate My Cycle. Has Anyone Had To Do This & Had A Positive Outcome? If So How Long Did It Take After Stopping The Pill?