This depends on a variety of factors. Some medical conditions, for instance pregnancy or infectious diseases, mean you cannot have permanent cosmetics or medical tattoo treatments. For other conditions, it will depend on the medical condition you are experiencing, its severity, the treatment or medication you are being provided with and so on.
You will have a full consultation prior to the treatment during which your medical history will be discussed and the implications of this for your treatment explained in detail to you.