Help!

Christa • Mama of 1, and 1 to come in September! Full time college student.
I am 5 weeks pregnant with my 2nd child, I take pain meds for my knew prescribed by my doctor. Is it safe to take? Thanks!