Pain and swelling is expected after extraction that usually lasts for 5-7 days. You can have solid foods right from the day the extraction is done itself, only remember to avoid hard, sticky, spicy and hot foodstuffs. Also avoid drinking anything with straw.
You can have foods that are soft in consistency like khichdi, dal rice at room temperature on the day the extraction is done and maximum the second day as and how you feel comfortable and from the third day you can continue with your normal diet.
.
Next Steps
Most important instruction to keep in mind after extraction is DO NOT SPIT/ RINSE on the same day after the extraction.
Health Tips
Hope this answers your query and for any other dental related doubts, please feel free to contact me in the chat section.