Is it unprofessional to call in sick two days in a row for the flu when 6 weeks into new job?

I started a new job about 7 weeks ago. Haven't missed anything yet but I called in sick two days in a row saying I have a bad flu. The real reason is im having bad depression. I'm on antidepressants and scheduled to go see my doctor. I am worriyung that people will think I am unprofessional taking two days in a row for the flu. What do you guys think?
Is it unprofessional to call in sick two days in a row for the flu when 6 weeks into new job?
Post Opinion