Ideally, you learned Algebra 3, and understand at least basic Trigonometry, and had at least the one-semester Trigonometry. Being weak in the intermediate level of Algebra means near certain failure in learning Calculus. Being strong in intermediate level of Algebra and knowing basic Trigonometry could be enough for earning maybe C or B in Calculus 1.
Preferably you would have mastered Algebra (factoring, solving one or more equations for unknowns, horizontal, vertical, slant asymptotes, etc.) and Trigonometry (know and understand the relationships between trigonometric functions, and know the basic 2 or 3 identities)