In which order do I get margin in intraday trading?

In which order do I get margin in intraday trading? In BO, CO or Regular