I bought a Samsung galaxy s5 on amazon. when I received the package I realized that the charger cannot charge the phone because it is too big to fit into the plugs at home. how else could the charger be used.
Welcome to Android Central! Are you saying the plug that goes into the wall outlet doesn't fit your sockets? Are you in the US or another country? What kind of plug does the charger have--is it a standard US plug? Can you show us a picture of the plug?
Did you buy it directly from Amazon, or through an independent seller on Amazon? If it was directly through Amazon, it should be relatively easy to deal with them regarding questions or possible returns.