Research past elections for the office your running for. Do your principles allow you to perform the job? Do you stand a chance? How much did it take for the last winner to win and Can you get people to pledge at least 10% of that? If the answer to any of these is No, better to stay away.
Ive come to think that political office should be more like jury duty. Random selection, then a vetting process by constituents, you serve one term no longer than 1 year and no shorter than 1 month. Once you have served in any office, you can never serve in the same position again.