Medical emergency and work

I just started working on Wednesday. And I had to stay home on Saturday because I was feeling super sick. Now I need to go to the doctor because I think I may need a minor incision done. (I won’t go into detail about it but I’ll make sure you understand) If I do go and get that incision done, I probably won’t be able to work for days! Can I get fired? I just hate staying home from work especially because I’m so new to the job 😭