Pull request triggers `pull_request` and `push` events at the same time

I have seen that when a PR is created, it triggers both events:

pull_request on the target branch
push on the base branch

is there a way to prevent a pull request to trigger both events?