Yes, I have been in your exact situation before and still passed my exams. Just. Mostly.
I was extremely depressed during my first year of uni. Things got worse and worse until I had a total breakdown over christmas. I came back and went on antidepressants etc. but it still took me a few months to crawl back to a state of normality. As you can imagine, during this time I was not attending lectures. The lectures I did attend I slept through because my sleep cycle was ruined. I didn't go through any of the lectures during term time because I felt too low to do anything at all. By this time in the year I had badly failed one January exam, scraped a pass in the other two, and knew next to no content for the year. After a month or two of pretty solid revision I ended up passing all of my summer exams except one (which I tactically failed to allow me to spend more time to revise other subjects). I barely scraped a pass in 3 others, but I did it. It is possible.
I share all of this to show you that all is not lost and you can rally from this if you start putting the effort in now. And you will have to work hard to make up for the rest of the year.
The most important thing is to treat this as a learning experience and not make the same mistakes next year. Attend your lectures! Turning up makes a huge difference. And maybe one of the things you'll learn is that retakes aren't the end of the world, which is a worthwhile lesson too. My one retake ruined my summer, but it sure as hell has motivated me to never have to do another one.
With regards to revision tips, I can't think of much that hasn't been said a million times before. In the end there's no 'quick fix' way to revise - you have to put in the effort and get through the content, in whatever way works best for you. I will say two things that made a big difference for me though.
Firstly, think carefully about where you want to revise. Most of my classmates went home for Easter, and plenty even went on holiday with their families. I chose to stay in uni and cram the days away in med school. This may not be your style, you may work better at home or somewhere else. But think about where you will work best, and be there. If you have a holiday planned, cancel it.
Secondly, consider if you're going to fail, HOW you are going to fail. The year after I tactically failed an exam my uni changed the system so that was no longer possible (failing that exam would instead have failed me half the year). But consider if you are going to have to retake, what to prioritise to make retakes as painless as possible. It's better to solidly pass 3 modules, and utterly fail 3, then NEARLY pass 6, if you know what I mean. This may seem like a weird and defeatist attitude, but it worked well for me. Think about how your uni marks things though, as it will make a big difference to whether this technique could work for you.
Good luck, work hard