I am non- resident alien and my wife is Green card holder. As I am on F-1 visa, I am exempt from social and medicate tax. how to file joint return.

I am non- resident alien and my wife is Green card holder. As I am on F-1 visa, I am exempt from social and medicate tax. If we file return saying married and jointly, do I need to pay those taxes??