Please help me log on

Can anyone help me when I try and log into multiplayer it keeps getting stuck on attempting to log in and if I do get it to work when I put my password and username in which I know is right it says login in failed username and password are wrong