How to replace the valve in your shower for gas and water to be in the same chamber

Gas and water in the chamber will not heat up as quickly as it would if there were a gas or water