Can I work 20 hours one week and get off the following week?

No. You should work each week during the internship.  Additionally, your work schedule should allow for blocks of time at your internship site AND be consistent (ex. MWF 1 to 5 p.m.).

See also: Internships