Something very basic is wrong and it is likely to be with the relationship of the transmitter and the flight controller. You have not said anything about either. My suspicion is that you did not set your transmitter memory to a default and that the Flight controller is getting some old (and unwanted) mixes. That is very possible if the transmitter was previously set up for a Helicopter with Rev Mixing.
I am further guessing this is a Multi Wii type flight controller running an Arduino programme.
With those open forum type controllers the neutral settings of the transmitter are seriously critical and you may need to find someone near you to show you how to line it all up. Most transmitters nowadays are matched at the factory with all controls somewhere near the 1080 to 1920 millisecond range with neutral at 1500. That sounds a bit pedantic but the transmitter and the controller have to agree on what is neutral. And the end points need to be set broadly enough to permit arming and dis-arming.
Once one of these things is set up, the trims are almost redundant but you have to reset if you change the model memory page.
Hope this helps a bit. You really need to meet someone who can talk you through this with all the gear on a nice clear bench.