what do i do when i wake up with a swollen eye that has puss type stuff?

My eye was swollen & puffy with some yellow “gunk” in it

It may be due to bacterial conjunctivitis. See doctor for proper diagnosis and doctor may prescribe antibiotic eyedrops.

Add some turmeric into a little bit of pure water. Immerse a clean handkerchief into the solution, and let it dry. Then use it to mop the affected eyes. The natural antiseptic, antibiotic properties of turmeric will help to take care of bacteria and facilitate healing.