Are you supposed to count the days I’m pregnancy or only the weeks ?

I don’t understand how this works I’m reading too many different things, if I’m 23 weeks 6 days do the 6 days Count or are you just 23 weeks ?