MPU 6050 registers

If you post a link to the datasheet and your existing code someone may be able to suggest a fix... Without these its hard to say anything(!)