If you want to sail to windward, you have to adjust the boom approximately along the centerline of the boat, and the
jib has to be adjusted about 8 inches from the spreader.
If the boat heels excessively when you trim the main and
jib that way, then you have too much sail up for the windstrength. Reefing the mainsail and reducing the size of the
jib will make the boat more manageable.
Your sails probably won''t be perfectly trimmed, but that should be close enough to make the boat sail to windward.
Lessons would certainly help. Good luck!