Can I dye my hair?

I just found out I am pregnant, unsure of how many weeks I am but can I dye my hair or should I wait until second trimester?