In most cases, security guards cannot follow you unless they have a reasonable suspicion that you are engaged in criminal activity or pose a threat to the safety of others. If you are concerned that a security guard is following you without cause, you can ask to see their badge and ID and/or contact their supervisor.