If you've had a skin cancer excised or surgically removed then it's best to wait until the scar has healed before any treatment. That being said, IPL can help diminish redness or tiny capillaries around the scar and help it to blend better. IPL, especially in combination with something like ALA/Levulan, can be extremely effective for helping to treat precancerous lesions that are present and repair other unseen sun damage that may lead to precancerous and cancerous lesions in the future. So not only is it okay to do IPL with a history of skin cancer, we recommend it for our patients.
There is no problem using this technology after a skin cancer. Some doctors even use this in conjunction with a special cream to treat pre cancers. It can be helpful to reduce the redness in the scar after the surgery has healed.