你好:
作动词时, 一般是 visit + to + 地点名词:
如: He visited to Shanghai last Sunday.
作名词时, 一般是 pay a visit + to + 地点名词
如: He will pay a visit to Shanghai next weekend.
visit
动词.I'm visiting my grandparents.
名词.Mary will pay us a visit.