How to add css and js libraries to magento2

What is the right way to ad css and js libraries to magento 2 in terms of where to add and the correct sequence of adding those libraries specially js labrareis
thank you

Hi @hassan and welcome.

Are you referring to Frontend Theming? This Official Magento Documentation on Frontend Development should help answer some questions.

If it doesn’t, let us know exactly what you’re trying to do and myself or someone else will get back to you later.