You must comply ___ the teacher’s advice.

You must comply ___ the teacher’s advice.

Explanation

 You must comply with the teacher’s advice.

آپ کو استاد کے مشورے پر عمل کرنا چاہیے۔

The correct preposition after "comply" is "with".

 It's used in contexts where you are required to abide by a rule, instruction, or request.