thank you for your query.
post hernia op-Pain persisting beyond the first few days after groin hernia repair
is seen in 10–15% patients.the pain generally subsides over the early months.
as for swelling-it is quite common to have a swelling in the scrotum
. This swelling contains water, and may contain some blood if bleeding has occurred. This is a result of the peculiar anatomy of the region. The swelling resolves with time. if the symptoms dont subside after few days then its better to consult your surgeon.
wishing you good health