Public urged to think twice before attending A&E