Cigarette lighter only lights cigarettes

Plug in the cord. If it doesn’t work, unplug it, rotate the plug about 1/8 of a turn, and plug it back in, making sure you have it inserted as far as it will go. If it doesn’t work, repeat the process until it does. Usually this will get them to work. If not, then consider replacing the lighter socket or wiring up a second one just for accessories.