help with rosemary plant )-:

okay, so i know this guy looks a little sad. i decided to grow some herbs indoors so i was able to enjoy them fresh all year instead of just in the summer. however, i can’t figure out how to properly harvest and/or prune it. any video i watch or article i read is about a large outdoor plant that’s the size of a bush. i can’t find anything about a small indoor plant like mine. i’ve read not to cut into the woody parts, but some of the branches are entirely wood, so what do i do about those? get rid of them completely? will a new small branch grow from the main branch after that? and ive read that i’m supposed to harvest it from the tips. but then wouldn’t the older part of the branch age and turn woody? and then i can’t use that branch anymore. what am i supposed to do? please help )-: