I would go to the doctor. Pertussis is epidemic in California right now, and you should be very careful since this has been going on so long. Pertussis, or whooping cough is known also as the "100 day cough" and while you will probably be fine, you need to know if you are spreading this to other people, particularly to infants to whom this could be deadly. If you have a secondary infection, you may benefit from some treatment, and if you don't have have pertussis, you should find out so that you can get the booster shot. 5 infants have died in California this year already, so if you don't have it, having experienced such a difficult time with the resperatory issue you have now, you want to be sure that you protect yourself, and your baby once they are born.
And yes, if it is pertussis, it will go away on it's own, there is not a treatment, it has to run it's course. Find out for sure, anyone who has been coughing for as long as you have needs to be seen by a doctor!
Good luck!
M.