Hi sofyabronza,
Thanks for using Apple Support Communities. It sounds like you forgot the password on your iPhone 6. We’re happy to help.
If you’re referring to the device passcode to unlock your iPhone, follow the steps below:
If you forgot the passcode on your iPhone, or your iPhone is disabled - Apple Support
If you’re referring to your Apple ID password, try these steps:
If you forgot your Apple ID password - Apple Support
If that doesn’t help, please respond with more details, such as what is on your iPhone screen, including any error message and what you’re trying to do with your iPhone on your computer.
Take care.