You can't. All modern browsers provide integrated password managers, and ignore any attempt to disable autocomplete on login fields.
You appear to be deliberately trying to reduce the security of your application. Preventing autocomplete and pasting passwords will force your users to choose short and easy-to-remember passwords, which will be easy to crack - assuming you're actually
storing them properly[
^] in the first place.
Unless you're writing a user management page, where an admin will be setting passwords for other users, don't try to disable paste or auto-complete.
How to turn off form autocompletion - Web security | MDN[
^]