Password problem

I previously used someone's credentials to log into my machine, now when I try to log in with my own user id and password, I keep on getting 'Invalid user name or password entered, please try again" error. What might be the problem?Please assist.