If you have accidentally bought a flight ticket using your maiden name, and then changed your name after marriage, you will need to contact the airline and provide them with the relevant documentation (such as a marriage certificate) as proof of the name change.