Struggling with amp!

So I just bought an electric guitar, and I got an amp. Both brand new. Sometimes it works Sometimes it doesn't I've tried having it plugged in before turning on the amp, having everything turned to one then turning them up one at a time, but I still struggle to get my guitar to make noise through the amp. They're both brand new, but I have no clue what I'm doing

It's a fender frontal 10g and a squier mini guitar (I think thayd what it says)