Foul-smelling vaginal discharge 3 days after one-day period. Painful sex on pelvic area. Resume of light period but with foul mucus material?

Probable infection. Foul smell with discharge and mucus-y material suggests a vaginal infection--whether or not sti can identify only by test. See your gyn / dr / urgent care for examination and testing so can receive any necessary treatment. Good luck!