Problem with mesh rotation

if I export my model in fbx, it is badly rotated, but if I export it in obj then the rotation is correct.
FBX:
image
OBJ:
image