I did, in the mid 80s, doing heavy dumbbell inclines.
Only a relatively minor tear, and I was in really good shape back then, having 10+ years of steady weight training under my belt at the time.
I wasn’t right for several months.
Don’t know how old you are, but if you’re past middle age, and it’s a serious tear?
You’re looking at 6+ months of rehab, strengthening, stretching, e- stim, and maybe even surgery.
If it’s a minor tear, like I’m guessing it is, you’ll have to take several weeks off, maybe more, of doing any chest work, only doing light rehab and stretching, etc.
Then you’ll progress to simply light bench “support” lifts, where you are simply holding a relatively light weight.......no lowering or pressing.
Then on to narrow grip, light benching with a short stroke, and so on. Get with someone who can set you up with a rehab plan.