Changing a wall switch to switch/plug combination

How do I change a wall switch to switch/plug combination?