Speaker and Headphones Both Playing

Hi everyone my Alcatel's phone speaker is giving off the sound that my headphones have to play and they are playing together. I was wondering if this was a software issue and how I could fix it, thank you!

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0