The trim motor may be going out. Locate the two plugs for the trim motor. It should be in the cowling befor the two relays. Attach a jumper wire to one and connect to a possitive on a battery and the other to ground. Your bypassing the switches and wiring harness. It will either go up or down. Reverse the wires for the opposite direction. If it still has a problem going up. Replace the trim motor. If it works fine then it's something electrical, check battery voltage and make sure it's got juice, trace wires looking fore bare spots shorts or a bad ground.