bratwurst

Are they safe to eat? I maybe only eat them once a month if even. Cooked it in a pan ... just not sure if I got them heated to 165f
Worried :(