Hello, according to your description, this is edible.
Both are estrogens and are used to suppress androgens, thus inhibiting erections.
However, medicine will have side effects, but if you take it in small amounts for a short period of time, the side effects should not be serious.
Generally, you can eat it in the first two days after surgery, and then you don’t need to eat it as you slowly recover.