Just wondering

Hey every one!!! I'm 28 i have two kids already. Just found out a week ago that I'm pregnant... Can't say I'm excited about it though. Well i haven't decided which way imma turn.... but lately I've had bad headaches and taking ibuprofen and Naproxen. If i do decide to keep this baby would these medication cause any long term harm to the baby.