How do i make it so that i dont trigger a POST action on a page.

For example, i have a home page, that has links on it to other web pages of mine, one will be "update part", that page has a POST script in it, and for some reason it runs everytime i go to that page from another page, and i dont want it to.

I wanted the user to be able to go to the "update part" page, then hit a button to update a part, and thats when it will run the POST script.

Any ideas?