Medications while pregnant

I feel so horrible for having to take certain meds while pregnant.. I know that no medicine is good while pregnant but I have horrible insomnia, connective tissue disease and heart problems. So I take propranolol every day. Tylenol’s everyday. Benadryl every night to sleep... I feel so bad and scared for having to take meds... so scared it’s gonna affect baby somehow.. any other mamas have medications they have to take?