Enter your Google or Samsung account info. If your info is not what it seeks, contact the person that you got the device from as they'll need to properly reset the device.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See this link for instructions on how to join Android Central.