In this talk, we discuss on local regularity for weak solution to nonlocal problems. I also introduce our recent result about the local boundedness and the local H"older continuity of weak solutions to nonlocal equations with variable orders and exponents under sharp assumptions.