Thanks for posting your query
Your swollen painful feet might be either due to inflammatory, arthritic ( episode of acute Gouty arthritis
) , or a systemic cause
So you need some blood tests like haemogram. TLC
, DLC, Serum uric acid and xray if there is any history of injury
You have to visit a doctor for examination of feet and investigation & treatment plan acc. to that.