People are being warned to only visit the A&E department at James Pagent University Hospital in Great Yarmouth if it is an emergency.