How to perform the negative testing in appium?

I have performed positive testing and it is working well. Now i need to test each unit of the application negatively.
For example -
When signing in I need to send the wrong keys in email and password field and check if it will say login failed.

And is there any process to run negative and positive test simultaneously.

P.S: i am currently performing test using Java.

The tests you mentioned are absolutely possible in Appium. You just need to see what message apps should show and how (pop up, text etc.) and then you validate through Java code.

Thank you for the comment.

So i have question about validation.

Do i need to validate the email and password with the database ?

i dont know the flow how this works.

You can do it. But generally speaking while doing UI automation you are testing scenarios and validating visually but yes you can do it if you design your automation framework like that.