How long will cephalaxin take to work for a bacterial cyst on penis?

Likely 1 week to 10d. Like most skin infections it should clear within the time frame the antibiotic was prescribed.