you should have it diagnosed first, as SRS parts are expensive and you wont want to replace a sensor if its not bad. Besides the fact that you can be seriously injured or killed by an accidentally deployed airbag.
Have it checked out first to see exactly what the problem is...