Thanks for posting your query. There are few issues to address here.
1. Urinary urgency
The commonest reason is an infection. See your doctor who can test and treat you for this. If its not due to an infection, your doctor may ask you to fill in a bladder diary to arrive at a diagnosis. This is what we call as "Overactive Bladder".Bladder irritants need to be avoided in your diet and your fluid intake will be advised accordingly to manage this condition.You may also need medications.
2.Inguinal swelling may be a lymph
gland enlargement which commonly happens in response to an infection in the legs, lower vaginal or rectal area. If its painful you may need antibiotics after locating the source of infection.
are pretty normal. But if it causes undue pain, you can take pain killers safely with doctors advice. You may also need a scan to look for any problems in the uterus